PDA

View Full Version : [ubuntu] How to enable default SSH?



hungryOrb
July 24th, 2008, 02:14 AM
Hi,
Please could someone briefly just tell me what SSH is, and how to enable it for remote access? If there is no default, I am quite happy trudging through a more complete resource to find answers.. ;]
Good morning~

Oldsoldier2003
July 24th, 2008, 02:18 AM
Hi,
Please could someone briefly just tell me what SSH is, and how to enable it for remote access? If there is no default, I am quite happy trudging through a more complete resource to find answers.. ;]
Good morning~

Are you trying to enable remote users to ssh into your machine? if this is the case


sudo apt-get install openssh-server

https://help.ubuntu.com/community/SSHHowto

Joeb454
July 24th, 2008, 02:18 AM
Morning :)

It's a Secure Shell basically. To enable it for remote access in another location, you would need to dabble in port-forwarding with some routers etc.

You need the "openssh-server" package installed on the remote machine too :)

hungryOrb
July 24th, 2008, 02:45 AM
Thanks very much. =)

Portmanteaufu
July 24th, 2008, 04:56 PM
Once you've got openssh-server installed on the machine you're going to be trying to SSH to, you can log in to that machine by using the command:

ssh username@ipaddress

or

ssh ipaddress -l username

If the computer you're trying to reach is behind a router, you'll have to forward port 22 to the right machine. If you go to

http://portforward.com/routers.htm

They provide free, router-model-specific instructions on how to forward a port.

Joeb454
July 24th, 2008, 05:04 PM
It might be better to change the port, but that may be getting a little advanced ;)

bodhi.zazen
July 24th, 2008, 05:38 PM
See thses links :

SSHHowto

AdvancedOpenSSH