Configuring ssh on Linux
Tested on fedora 13
First check ssh service is running
to check the status of ssh
service sshd status
or
/etc/init.d/ssh status
if it is stopped you can not use ssh
to start this service issue the follwoing command
service sshd start
or
/etc/init.d/sshd start
if you are starting it for the first time you will see these messages on the screen else you will see the last one only, if it starts
Generating SSH2 RSA host key: [ OK ]
Generating SSH1 RSA host key: [ OK ]
Generating SSH2 DSA host key: [ OK ]
Starting sshd: [ OK ]
now you can use ssh
to connect to another host use
ssh username@hostname
Comments
Post a Comment