Please help me on the below issue.
not able to connect to SFTP server with RF-SSHLibrary.
-
using command prompt , i am able to login with below command
sftp -o port=12000 -c aes256-cbc xxx@abc.xyz.rec.gov -
using python also , i am able to connect and send/receive files .
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect(‘abc.xyz.rec.gov’, 12000, ‘xxx’, ‘xxx’)
sftp = ssh.open_sftp()
sftp.get(‘test1.TXT’,‘test1.TXT’)
sftp.close()
ssh.close()
3 but with robot framework , i am not able to connect.
*** Test Cases ***
Open Connec
Open Connection abc.xyz.rec.gov port=12000
Enter Credentials
Login username=xxx password=xxx
iam getting below error .
SSH OAG :: Robot Framework test script
Open Connec | PASS |
Enter Credentials | FAIL |
SSHException: Channel closed.