another ssh thread
Hello, and hope you are good. I have googled for hours and found many links, but none seem to help me.I get this error upon trying to ssh into my box, before I post the error. Is it possible to try and ssh into my own pc while sitting i front of it? Can I just
ssh myself@127.0.0.1 ? when I try I get the ssh: connect to host 127.0.0.1 port 2112: Connection refused I have allowed connections on port2112 through Shorewall and Firestarter here is ssh_config # Site-wide defaults for various options # Host * # ForwardAgent no # ForwardX11 no # RhostsAuthentication no # RhostsRSAAuthentication no # RSAAuthentication yes # PasswordAuthentication yes # HostbasedAuthentication no # BatchMode no # CheckHostIP yes # StrictHostKeyChecking ask # IdentityFile ~/.ssh/identity # IdentityFile ~/.ssh/id_rsa # IdentityFile ~/.ssh/id_dsa Port 2112 # Protocol 2 # Cipher 3des # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc # EscapeChar ~ Host * ForwardX11 yes Protocol 2 StrictHostKeyChecking no I have read a tutorial and many threads on this site as well. Sorry to post another thread pertaining to ssh.I would have rented a book come Monday, but I was excited about setting this up over Thanksgiving weekend. Any help appreciated. On another note. I was not sure what to uncomment in the ssh_config file. Thank you. |
those settings are for your CLIENT only. have you changed the server to listen on your non-standard port to? that's sshd_config. and the firewall shouldn't get invovled at all if you're connecting on your looback IP.
|
no I have not, I will try immediately. Thank you.
|
I feel really dumb right now, but I can't seem to locate sshd_config. Does this mean the daemon is not installed?
I have ssh files but no sshd files. I have read some more and it seems I have to install the service first,.. I was under the impression it was already installed and Ill I had to do was configure users , ports etc. Thank you. |
see if it's running: ps ax | grep ssh
|
Gave this...
6552 ? S 0:01 gedit file:///etc/ssh/ssh_config 6766 pts2 S 0:00 grep ssh I also issued these commands.. service sshd status Cannot find sshd service and service sshd start Cannot find sshd service Thank you. |
pretty conclusive results then... you have no ssh server installed. go get it.
|
Got it going now,
urpmi sshd gave me this and I said yes. The following packages have bad signatures: /mnt/cdrom/Mandrake/RPMS3/sshd-monitor-0.2-2mdk.noarch.rpm: Invalid signature ((SHA1) DSA sha1 md5 (GPG) (MISSING KEY) GPG#26752624 NOT OK) /var/cache/urpmi/rpms/openssh-server-3.6.1p2-12mdk.i586.rpm: Invalid signature ((SHA1) DSA sha1 md5 (GPG) (MISSING KEY) GPG#26752624 NOT OK) Do you want to continue installation ? (y/N) y I got the iso images from a trusted source(LinuxIso.org, but who knows about the mirrors I guess is what I am getting at) so I installed and everything is going great. But should I be worried about the missing keys? Very cool thank you. |
All times are GMT -5. The time now is 04:15 AM. |