This is kind of driving me nuts, so I was hoping that someone might have some insights.
I've got a cron'd script that's being called on a box, that runs a command like this:
/usr/bin/sftp -v -b /home/jobsub/xgsftp_0518181327.parm -F /opt/ssh/ssh_config ftppub@ftp.xyz.com >> /home/jobsub/sftp_log_0518181327.log 2>&1
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY Host key verification failed. Couldn't read packet: Connection reset by peer ... For some reason, it's reading the ssh_config file, but doesn't link things up when run through a cron job? I've tried also setting the ssh_config match up with wildcards and by IP address too, but the results are the same.
Any thoughts as to what's going on??
Oh, and -- there are other host configurations in the same ssh_config file, called in the same way, that work perfectly fine. It's just this one host entry that for some reason isn't matching up.
I've dealt with similar things, but I'm not at home where I experienced this, so I'm working from memory. That being said, I think that you need to look at changing 'PermitUserEnvironment' to 'yes' in /etc/ssh/sshd_config. -Nick -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org