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.
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.
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!
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!
Please don't post follow-ups, when you don't get a reply quickly enough to suit you. A follow-up less than 24 hours apart, isn't very polite, especially when we volunteer our time here.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.