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 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. |
/etc/ssh/sshd_config is the server configuration file
/etc/ssh/ssh_config is the system wide client configuration file. It appears that you are using server directives in the client configuration file. The server does not use the client configuration file. Just to make sure, you do have some sort of ssh server running on the windows PC? |
I was in the wrong file, I need to be in ssh_config under /etc/ssh
I don't have an ssh server running on the Windows 7 machine. I don't think it is necessary, since I'm copying from Linux to Windows. |
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. thanks |
What you posted are not valid ssh client options and do not affect file transfers. Delete them from your ssh_config file.
fillezilla and winscp are windows sftp clients and can transfer files to/from the linux server. |
I tried to scp again and got this:
Code:
Code:
pscp username@remote-host:/directory-name/file-name C:/local/directory-name 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. |
What other boxes can you ssh to?
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. |
I'm going to mark this thread as solved.
|
All times are GMT -5. The time now is 09:52 AM. |