mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-23 22:15:37 +02:00
Updated sftp.exe examples (markdown)
parent
ababdebd02
commit
c2eafee907
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
This example connects to the local machine (`localhost`) as the user `test1`, and downloads/uploads some files.
|
This example connects to the local machine (`localhost`) as the user `test1`, and downloads/uploads some files.
|
||||||
|
|
||||||
```sh
|
```
|
||||||
sftp test1@localhost //login to local machine using test1 username
|
sftp test1@localhost //login to local machine using test1 username
|
||||||
sftp -i .ssh/id_rsa test1@remotehost //login using .ssh/id_rsa public key pair
|
sftp -i .ssh/id_rsa test1@remotehost //login using .ssh/id_rsa public key pair
|
||||||
pwd //show current remote directory
|
pwd //show current remote directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user