You are not logged in.
Pages: 1
Hello,
How do I make my SSH online? So I can login to my machine over the internet like a server?
Thanks.
Last edited by RAH (2008-08-15 22:46:26)
Offline
http://wiki.archlinux.org/index.php/SSH
if you're behind a router, you need to set the router up for service forwarding. check your router documentation for that.
Last edited by josomebody (2008-08-15 21:46:10)
: () { : | :& } ;:
Offline
I followed the wiki and I'm getting the following:
ssh: connect to host **.***.***.** port 22: Connection refused
Offline
http://wiki.archlinux.org/index.php/SSH
if you're behind a router, you need to set the router up for service forwarding. check your router documentation for that.
Ah, service forwarding. I'm looking at my router settings. What would the start and finish ports be?
Offline
/var/log/auth.log
Aug 15 22:50:44 rh-laptop sshd[17406]: Received signal 15; terminating.
Aug 15 22:50:45 rh-laptop sshd[17795]: Server listening on 0.0.0.0 port 22.
Offline
Assuming you want a vanilla SSH setup, and assuming that you already modified /etc/hosts.allow properly...
You want to log into your router and forward TCP packets from port 22 on the router to port 22 at your PC's IP address.
This will give you no-frills SSH access--once you know it's working you might want to consider changing the listening port on the router from 22 to some uncommon and high port number in order to increase security (because bots and hackers will sniff the common ports first.)
thayer williams ~ cinderwick.ca
Offline
LAN Server
Enter the IP address of the PC or Server on your LAN which will receive the inbound traffic covered by this rule.
If I enter my ISP IP address here it gives me an illegal IP error. What should I be doing?
Offline
LAN Server
Enter the IP address of the PC or Server on your LAN which will receive the inbound traffic covered by this rule.If I enter my ISP IP address here it gives me an illegal IP error. What should I be doing?
That is the local IP address of the PC that will receive the call, and will probably be something in the
192.168.x.x range.
That also means that your PC must have a fixed IP address, be it by configuring your router to give
it always the same address, normally anhand the MAC address (better), or by reconfiguring /etc/rc.conf.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
LAN Server
Enter the IP address of the PC or Server on your LAN which will receive the inbound traffic covered by this rule.If I enter my ISP IP address here it gives me an illegal IP error. What should I be doing?
forward TCP packets from port 22 on the router to port 22 at your PC's IP address.
You should be using your PC's IP address (the one you want to connect to.)
thayer williams ~ cinderwick.ca
Offline
For future reference: http://portforward.com/
Offline
For future reference: http://portforward.com/
Nice link loosec, could you add that to the Wiki entry listed by josomebody?
Pudge
Offline
LAN Server
Enter the IP address of the PC or Server on your LAN which will receive the inbound traffic covered by this rule.If I enter my ISP IP address here it gives me an illegal IP error. What should I be doing?
You should give the IP of the machine that has sshd running, you can find that with ifconfig.
EDIT: too late..
Last edited by Ramses de Norre (2008-08-16 15:59:18)
Offline
Pages: 1