Ssh to your machine from anywhere?

  • Thread starter Thread starter Tony11235
  • Start date Start date
  • Tags Tags
    Machine
Click For Summary

Discussion Overview

The discussion revolves around the steps and requirements for setting up SSH access to a personal machine from remote locations, particularly when the machine is behind a router or firewall. Participants explore various methods and configurations necessary for remote access, including considerations for other protocols like telnet and FTP.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant inquires about the requirements for SSH access from outside their local network, expressing a lack of experience with remote connections.
  • Another participant mentions using PuTTY as an SSH client and suggests that FTP can be accessed through web browsers or telnet.
  • A participant confirms their intention to connect to their Linux machine from school, indicating familiarity with client software.
  • It is suggested that the SSH daemon (sshd) must be installed and that port 22 needs to be open on the firewall/router for external access.
  • A participant expresses confusion about accessing their machine remotely, noting they can only connect from within the same network.
  • There is a recommendation to configure the router/firewall to forward port 22 to the local machine's IP address.
  • Multiple participants express concerns about not having administrative control over the router in their shared living situation, questioning the feasibility of setting up remote access.
  • One participant concludes that without router administration, remote SSH access may not be possible unless the network administrator intervenes.

Areas of Agreement / Disagreement

Participants generally agree that administrative access to the router is crucial for enabling SSH access from outside the local network. However, there is uncertainty regarding the specific configurations needed and the limitations imposed by shared network environments.

Contextual Notes

Limitations include the lack of control over the router settings in shared living situations, which may prevent necessary configurations for remote access. There are also unresolved questions about the specific steps required to set up port forwarding.

Tony11235
Messages
254
Reaction score
0
What is it you have to do if you want to be able to ssh to your machine from anywhere? I know what it takes if you're connecting to one that's on the same network. And I'm not talking just ssh, I also mean telnet, ftp, etc...Kind of a noob question.
 
Computer science news on Phys.org
Well I use putty for ssh ( http://www.putty.nl/download.html ) as a client. it can also be used as a telnet client. If you want to connect to a server as ftp you can just use internet explorer or firefox or even telnet by connecting to port 21, although you'd have to know the commands for ftp.

But if you want to turn your PC into a server, then you can install VNC server which will let you see your desktop as if you were sitting behind the computer.
 
Last edited by a moderator:
I'm familiar with all the clients. I just want to be able to connect to my linux machine at home when I'm at school.
 
Install sshd, the SSH daemon.
If your linux machine is behind a firewall/router, make sure that port 22 is open.
 
I installed sshd. But now am I supposed to be able to: ssh myipaddress from anywhere now? I still can only do it from my other computer which shares the same ethernet connection, on the same network that is. Is there anything else I am supposed to do? This is probably a stupid question.
 
So, you can ssh to localhost? and ssh to your computer from computers in the same subnet sharing the internet connection via a router/firewall?

Next, you have configure the router/firewall to forward port 22 to the computer in your local network.
 
I don't think the router is in my hands. I'm in an apartment in which everybody uses the same service. I may be wrong.
 
I don't think the router is in my hands. I'm in an apartment in which everybody uses the same service. I may be wrong.

You need to configure PAT, ie what others have said.. Configure your router to forward anything that hits port 22 on your router to the internal IP address of your ssh server. In conclusion, if you don't admin your router you won't be able to do this...
 
Tony11235 said:
I don't think the router is in my hands. I'm in an apartment in which everybody uses the same service. I may be wrong.


Then you probably can't, unless the network admin is willing to setup the router to allow you to do so.
 
  • #10
Yeah I don't admin my router. I will have to talk to the network administrator and see what's possible.
 

Similar threads

Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 20 ·
Replies
20
Views
5K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 54 ·
2
Replies
54
Views
12K
  • · Replies 6 ·
Replies
6
Views
2K