SCP command not working. EXEC REQUEST FAILED
Posted: Tue Dec 20, 2022 6:15 am
HI,
I am trying to transfer a file to an Azure based server from an AS400 server using sftp. The keys have been configured and I can connect to the Azure server if I manually login using a QSH session. Transferring files using the put command is no problem but when I try to use the scp command I get the error below:
I am trying to transfer a file to an Azure based server from an AS400 server using sftp. The keys have been configured and I can connect to the Azure server if I manually login using a QSH session. Transferring files using the put command is no problem but when I try to use the scp command I get the error below:
The ports used to connect is open. Using the same command to connect to a different Azure server does not have the same problem. Any sugestions?debug1: channel 0: new ¢client-session!
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending command: scp -v -t /destfolder/
exec request failed on channel 0
lost connection