![]() SSH public key authentication remains an option for researchers who submit the "SSH public key authentication to HPS systems" agreement (log into HPC everywhere using your IU username and passphrase), in which you agree to set a passphrase on your private key when you generate your key pair. Or you can use the trick that scp uses and use such a command line: ssh -p 6774 scp -rp -P 6774 /home/denny/testapp1.txt the different case of the port parameter for ssh and scp: ssh -p 6774 vs.Two-factor authentication using Two-Step Login (Duo) is required for access to the login nodes on IU research supercomputers, and for SCP and SFTP file transfers to those systems. When you have setup your ~/.ssh/config correctly, this should work: scp -rp3 course, you can also copy the contents of the ~/.ssh/config file onto your first remote host, and then you can use scp without the -3 option, which will probably speeden up the transfer. Otherwise, scp issues the scp command via ssh on the first host, so it actually runs ssh -p 6774 scp -rp /home/denny/testapp1.txt then the ~/.ssh/config of the first remote host (67.12.21.133) is used instead of your local one. When doing this, you have to use the option -3 to scp, which copies the files through your local machine. You can use ~/.ssh/config to specify the ports to use for the hosts (and for setting many other nice things check the man page man ssh_config): # ~/.ssh/config
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |