Sunday, March 13, 2005

SSH

OpenSSH wasinstalled when i installed everything else
subversion and bugzilla.

attempted logining into the gentoo box via
ssh -l user_name 192.168.0.x

a nogo.

ok is the sever started most likely not.
nope its not.
rc-update add /etc/init.d/sshd default

then i edited the /etc/ssh/sshd_config file
eventually i want to be able to ssh into this machine
and work remotely
i need to edit this file again.
/etc/ssh/sshd_config

skip will not skip it i found the gentoo wiki.
most excellent.
http://gentoo-wiki.com/HOWTO_setup_a_home-server#Configuring_ssh

i did the following

# ssh-keygen -t rsa1 -b 1024 -f /etc/ssh/ssh_host_key -N ""
# ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
# ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""

and the following actually worked.

# /etc/init.d/sshd start

and it ran!

then i tried loging infrom another machine on the local network
ssh -l user_name 192.168.0.x

this was a no go ... it kept asking
for a password
ill come back to it later

No comments: