I was trying to access SFTP server using a script with the
ssh-rsa 4096hostkey. However, the access is denied. (The hostkey is from Server and Protocol Information Dialog session.)
Could you please check where in the script below is error?
Please refer that similar code using
ssh-rsa 2048hostkey was operated on other FTP server.