[Trilug-ontopic] ssh - someone changed something and I have to change it back..
gwbrown1 at gmail.com
Tue Jul 19 14:42:07 EDT 2011
Ok, so I've got a test and dev system I use for writing scripts and whatnot.
Someone changed sshd_config or ssh_config and I can't for the life of me
figure out what or where but it's causing my perl/Net::SSH::Expect scripts
to fail. EACH and EVERY time I try to log into something with
Net::SSH::Expect it hangs and barfs back:
"Enter passphrase for key '/home/netadmin/.ssh/id_dsa':
...where it did not before which leads me to believe someone has turned
strict host key checking off. That turns out not to be the case, at least
according to the ssh config files. I've got as far as creating a 2nd VM on
another machine and comparing and copying the ssh_config and sshd_config
files back to the broken test machine (and restarting ssh and later just
rebooting the damn thing).
System is: Linux debian 2.6.26-2-686 #1 SMP Thu Jan 27 00:28:05 UTC 2011
I'm missing something very basic and very rudimentary. Does anyone know
Here are the files in question stripped of comments (and commented out
lines) and blanks:
cat ssh_config | grep -v "#" | grep -v "^$"****
SendEnv LANG LC_*****
cat sshd_config | grep -v "#" | grep -v "^$"****
AcceptEnv LANG LC_*****
Subsystem sftp /usr/lib/openssh/sftp-server****
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Trilug-ontopic