[SOLVED] SCP error bad config options and unsupported option from kerberos authentication
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.
SCP error bad config options and unsupported option from kerberos authentication
Hi, I'm trying to copy files from a Linux Server (Red Hat) to Windows 7 Desktop using SCP from the CLI.
Code:
[imosa@ameda4aisrx0232 tmp]$ scp file.tar.bz2 user@192.168.221.108:/Users/userA
/etc/ssh/ssh_config: line 44: Bad configuration option: PermitTunnel
/etc/ssh/ssh_config: line 56: Bad configuration option: AllowTcpForwarding
/etc/ssh/ssh_config: line 58: Bad configuration option: X11Forwarding
/etc/ssh/ssh_config line 59: Unsupported option "KerberosAuthentication"
/etc/ssh/ssh_config: terminating, 3 bad configuration options
lost connection
I'm checking out the /etc/ssh/sshd_config and making the following changes.
PermitTunnel set from No to Yes
AllowTCPForwarding set from No to Yes
XllForwarding set from No to Yes
After restarting the sshd I'm still getting the same error message.
I'm probably confused. Just semantics but if you are sitting at the linux PC using the scp command to copy files to the windows PC then the server must be the windows PC.
Yes, I'm trying to copy down from Linux to Windows. I don't think I have SSH Server running from the Windows 7 machine and just checked the services and don't see it running.
I also modified /etc/ssh/ssh_config and still got the same error as above.
Just so I understand, even though there isn't a SSH service running on my Windows Box, using pscp from the CLI, I can copy files from the Linux box to the Windows box. I guess I'm not understanding why I can't do it all from the Linux box, especially if SSH Daemon is running and I can SSH into it and SSH into other boxes from there.
In a nutshell a server listens and responds to requests from client. The client can not listen. pscp is a client and sshd is the server running on the linux box. If a server is not running on the windows box the client tries to make a connection but does not get a reply which results in the posted messages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.