Starting SSH, but LSH is stopping me
Well I am trying to setup SSH, but when I was trying to restarting it, I would see that sshd_do_not_run or something similar file was stoping me. How do I deal with this?
|
Can you provide more details, for example the exact error message?
|
after running :
/etc/init.d/ssh restart I get: Restarting OpenBSD Secure Shell server: sshd. OpenBSD Secure Shell server not in use (/etc/ssh/sshd_not_to_be_run). |
is this for your debian or mac?
do you have the ssh server installed? |
another question-
in your title you have "Starting SSH, but LSH is stopping me" how do you know if lsh is stopping things. with the output that you gave, it doesn't say anything about lsh. |
Maybe its not LSH, but when I opened up the /etc/ssh/sshd_not_to_be_run file, I figured it was LSH that was stopping it.
All the commands are being run from terminal in my mac to my debian box. How do I know if my key authentication is working? When I SSH in to my box (ssh user@192.168.0.100) from terminal in mac, all I get prompted for is user's password. I'm I not supposed to be asked what is the pass phrase for my key? |
If you have 2.6.18 then you're on Etch and shouldn't even have a sshd_not_to_be_run. Do you have both openssh-server and openssh-client installed? Just remove sshd_not_to_be_run to get sshd to start.
Or are you actually running sshd from inetd? /etc/inetd.conf. It should be its own daemon, not run from inetd, even in oldstable. |
Actually this is a fresh install on a newer system, and I am using the latest Debian.
So what should I do? Do I simply delete the file, and that's it? As of now, I can log in to SSH with my mac to my linux box, but I'm not asked for the RSA key. What would cause this? |
All times are GMT -5. The time now is 08:07 PM. |