Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.