Dino Geek, try to help you

How to use SFTP in command line mode?


To use SFTP in command line mode, follow these steps:

1. Open a terminal or command prompt window.
2. Type the following command to start the SFTP client:

sftp [username]@[hostname] Replace [username] with your SFTP username, and [hostname] with the hostname or IP address of the server you want to connect to.

1. If this is the first time you’re connecting to the server, you’ll be prompted to verify the server’s fingerprint. Type “yes” to continue.

1. Enter your SFTP password when prompted.

1. Once you’re connected, you can use the following SFTP commands to navigate and transfer files:

- `ls`: List the contents of the current directory.
- `cd [directory]`: Change the current directory to [directory].
- `get [remote file] [local directory]`: Download [remote file] and save it to [local directory].
- `put [local file] [remote directory]`: Upload [local file] to [remote directory].
- `quit`: Close the SFTP connection.

1. When you’re done, type “quit” to close the SFTP connection.

Note: SFTP uses port 22 by default, so make sure that port is open on your firewall.


Simply generate articles to optimize your SEO
Simply generate articles to optimize your SEO





DinoGeek offers simple articles on complex technologies

Would you like to be quoted in this article? It's very simple, contact us at dino@eiki.fr

CSS | NodeJS | DNS | DMARC | MAPI | NNTP | htaccess | PHP | HTTPS | Drupal | WEB3 | LLM | Wordpress | TLD | Domain name | IMAP | TCP | NFT | MariaDB | FTP | Zigbee | NMAP | SNMP | SEO | E-Mail | LXC | HTTP | MangoDB | SFTP | RAG | SSH | HTML | ChatGPT API | OSPF | JavaScript | Docker | OpenVZ | ChatGPT | VPS | ZIMBRA | SPF | UDP | Joomla | IPV6 | BGP | Django | Reactjs | DKIM | VMWare | RSYNC | Python | TFTP | Webdav | FAAS | Apache | IPV4 | LDAP | POP3 | SMTP

| Whispers of love (API) | Déclaration d'Amour |






Legal Notice / General Conditions of Use