[PLUG] 2-way exchanges with ssh and scp

Anderson, Robert H - MWT Anderson.Robert at menlolog.com
Fri Dec 5 09:19:02 UTC 2003


Send the verbose output...

ssh -v ...

You can also run the sshd on the server with the -d option and in the
foreground to diagnose server issues...

sshd -d -f /etc/ssh/sshd_config -p 2222

Then from the laptop connect to port 2222...

ssh -v -p 2222 ...

Hope this helps,

-Rob Anderson

>-----Original Message-----
>From: Rich Shepard [mailto:rshepard at appl-ecosys.com] 
>Sent: Wednesday, December 03, 2003 5:29 PM
>To: plug at lists.pdxlinux.org
>Subject: [PLUG] 2-way exchanges with ssh and scp
>
>
>  I can use scp to copy files from my main workstation/server 
>to the laptops, but not the other direction.
>
>  From the laptop, when I try 'scp salmo:<filename> .' I see:
>ssh_exchange_identification: Connection closed by remote host.
>
>  So, do I need to make changes to /etc/ssh/ssh_config or 
>/etc/ssh/sshd_config? And, on which machine? I've managed to 
>get myself quite confused here at what needs to be set where 
>for 2-way communications.
>
>Thanks,
>
>Rich
>
>-- 
>Dr. Richard B. Shepard, President
>Applied Ecosystem Services, Inc. (TM) <http://www.appl-ecosys.com>
>
>_______________________________________________
>PLUG mailing list
>PLUG at lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
>




More information about the PLUG mailing list