On Aug 5, 2024, at 4:42 PM, Pew, Curtis G <[email protected]> wrote:

That sftp doesn’t support anything like NETRC?

The sftp protocol is a part of ssh, and ssh supports public/private key 
authentication, so you can avoid the use of passwords.



I guess I should add: if you want to have something shorter than 
[email protected]<mailto:[email protected]> you can define a “Host” in 
your ssh configuration file, ~/.ssh/config. Like:

Host myalias
   User userid
   HostName full.dns.name

Then you can type `sftp myalias` instead of `sftp 
[email protected]<mailto:[email protected]>`.


--
Curtis Pew
Enterprise Technologies, Campus IT Infrastructure and Services, Mainframe and 
Administrative Systems
The University of Texas at Austin
[email protected]





----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to