ssh from outside my lan?
ok, so I just installed ssh on my ubuntu box and I can ssh into it from windows boxes on the same router but how do I set it up so that I can get to it from a different network? A wifi hotspot for instance or a friends house.
|
You'll need to have your router forward incoming port 22 traffic to your Ubuntu box.
|
thanks, now what are the security implications of this? Am I prety much opening myself up to get owned, and if so what should I do to batten down the hatches.
|
Hope this gets you started, there are many different ways of making it more secure.
http://www.openssh.com/faq.html One way is to limit access, for gentoo I do this; Limit SSHD Access Deny access to everyone, including root, except user1 and user2. Edit /etc/ssh/sshd_config: File: /etc/ssh/sshd_config AllowUsers user1 user2 PermitRootLogin no |
hi there,
adding to comprookie2000 answer's I would disable password authentication and use something like pubkey... with that, you have control to users and parallel to that with the encryption key.. just my :twocents: regards, slackie1000 |
All times are GMT -5. The time now is 09:24 AM. |