SCP Issue
Hi all,
Hoping someone out there can provide a simple solution to this. I'm trying to do an scp from a linux server into another box but ran into this oddly issue: $ scp testlog234509-xterm12.txt dbertine@ubuntusrv2008.csaa.dev.com:/home/dbertine/logs command-line: line 0: Bad configuration option: PermitLocalCommand lost connection Any idea on why this is happening? Something on my terminal emulation program perhaps? I'm just using Putty - also used gnome-term and hummingbird same issue. Thank you in advance! |
PermitLocalCommand is an option for ssh_config. Are you sure it hasn't been used in sshd_config by mistake? I'm assuming this in on the server (ubuntusrv2008.csaa.dev.com) rather than the putty end.
|
Hmm, that's bizaare.
However this used to work though (like last friday) so I'm not sure what's going on. I am logged into ubuntusrv2008.csaa.qa.com and trying to scp testlog234509-xterm12.txt file into ubuntusrv2008.csaa.dev.com server. So are you saying that ssh_config in ubuntusrv2008.csaa.dev.com needs to be checked? Any other ideas? Thank you! |
That's where I'd look first
Can you ssh to that server OK? |
Yes I can ssh to it fine, no problems there.
If ssh is the issue, what do I need to check in the ssh_config file? Any editing I need to do there? Honestly no idea on what's going on with that. Thanks. |
Anybody in here have an idea?
Please advise... Thanks! |
Quote:
And billymayday told you what to check, have you??? Open the sshd_config file, look in it for the option specified in your error message. Remove it if you find it, and restart your SSH daemon. The option specified should go into ssh_config, not sshd_config. Has anyone edited that file? What's the date/time on sshd_config? |
All times are GMT -5. The time now is 09:18 PM. |