SSH session saving

Hi,

I want to execute some script on the remote session and transfer the processed file on remote machine to local machine.

I tried with ssh-keygen and ssh-copy-id but seems that this has been disable on the remote machines,

Is there any possiblity that I can save the remote username and password and can use that to login and execute and transfer the files to my local machine. Please let me know how and af can i use any other methods to achieve my goal?

Thanks,
Marutha

Use wget instead as follows:

wget ftp://<user>:<pass>@<ip_address>/</path/to/file>

Thanks,
VG

I do not have FTP I have only sftp :frowning:

scp username@1.1.1.1:/tmp/file .

this asks for password.. is there any way that I can do this without prompting for password? Can I save the password....

scp username:password@1.1.1.1:/tmp/file .

doesn't work :frowning:

This could be done only using ssh-keygen

Thanks,
VG.