Results 1 to 6 of 6

Thread: ssh to my dorm computer with shared public IP

  1. #1
    Join Date
    Sep 2009
    Posts
    143

    ssh to my dorm computer with shared public IP

    Excuse me guys!! I have my own computer at my hostel on which i am using windows 7. I am a university student and sharing the static WAN IP (Internet or public IP). All the students from student dorm shares the same WAN IP. I just want to know that is it possible to establish the ssh connection to the students dorm computer from the computer presented in the campus.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,424

    Need all the rights of Administrator.

    As you said that you want to connect to the ssh network but you are not able to connect. I think it would be happening because you would not be having the administrator right as it needs some rights to make changes on server. You may try to your administrator to give you the permissions about letting you doing this. Without Admin rights, It is not possible to enable such connections.

  3. #3
    Join Date
    Jan 2006
    Posts
    4,221

    Use ssh with shared public IP.

    You can try following command to use ssh network instead of [B]scp network.[/B

    for filename in *; do
    cat $filename | ssh user@host "cd /path/to/upload/files/to; cat - > $filename"
    done

    but regular scp will be the best.

  4. #4
    Join Date
    May 2008
    Posts
    3,516

    Use scp which similar to ssh.

    I think you can use scp network as you are trying to connect to the ssh network. SCP can also do the same task as ssh does. Use following command to use scp connectivity.

    #!/bin/bash

    cd ./files-to-upload
    scp * user@host:/path/to/upload/files/to

    Make sure that you replace user@host with the real one. You will be prompted for a password to upload.

  5. #5
    Join Date
    May 2008
    Posts
    2,945

    Run a sshd server on your home computer.

    By following these steps you will be able to run ssh server on your home computer.
    1. Use DynDNS to bind your IP address to a known domain name if you have dynamic IP at home. It will assign you with the domain name for example shen.homeip.net.
    2. Make sure that your router routes through ssh connections to your computer.
    3. Type "ssh mydomainname.homeip.net" from your dorm computer.

  6. #6
    Join Date
    Apr 2008
    Posts
    3,339

    Create Tunnels with ssh connection.

    You can run the following command on your local system if you are using the remote server to create tunnels with ssh connection.

    ssh -T -N -L 3308:localhost:3306 myserver.example.com

    Where " -T " will disable the allocation of a tty and the -N command will disable the running of a command on the remote side. This would not be acting like the Terminal but you may say that this is the port forwarding.

Similar Threads

  1. Shared network shows unidentified computer
    By itech in forum Operating Systems
    Replies: 5
    Last Post: 05-01-2012, 07:16 AM
  2. Maxell 4GB flash drive 'public' disk isn't so public
    By first-born in forum Portable Devices
    Replies: 5
    Last Post: 22-12-2010, 07:39 AM
  3. Shared Computer Toolkit for Windows XP
    By Inigo in forum Operating Systems
    Replies: 6
    Last Post: 04-12-2010, 01:16 AM
  4. Replies: 3
    Last Post: 28-05-2009, 08:47 AM
  5. URGENT: Add a shared printer for all users in a computer
    By Gaspar in forum Windows Server Help
    Replies: 3
    Last Post: 18-10-2008, 03:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,487,650.04770 seconds with 16 queries