Sftp: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
==SSH File Transfer Protocol== | ==SSH File Transfer Protocol== | ||
Das SSH File Transfer Protocol oder Secure File Transfer Protocol (SFTP) ist eine für die Secure Shell (SSH) entworfene Alternative zum File Transfer Protocol (FTP), die Verschlüsselung ermöglicht. | * Das SSH File Transfer Protocol oder Secure File Transfer Protocol (SFTP) ist eine für die Secure Shell (SSH) entworfene Alternative zum File Transfer Protocol (FTP), die Verschlüsselung ermöglicht. | ||
Im Unterschied zum FTP über TLS (FTPS) begnügt sich SFTP mit einer einzigen Verbindung zwischen Client und Server. | * Im Unterschied zum FTP über TLS (FTPS) begnügt sich SFTP mit einer einzigen Verbindung zwischen Client und Server. | ||
Obwohl das Protokoll SFTP im Kontext des SSH-2-Protokolls beschrieben wird, könnte es auch mit anderen Verfahren zur Authentifizierung und Verschlüsselung umgesetzt werden. | * Obwohl das Protokoll SFTP im Kontext des SSH-2-Protokolls beschrieben wird, könnte es auch mit anderen Verfahren zur Authentifizierung und Verschlüsselung umgesetzt werden. | ||
$ sftp root@192.168.1.119 | $ sftp root@192.168.1.119 | ||
passwort : | passwort : | ||
Version vom 18. November 2019, 09:43 Uhr
SSH File Transfer Protocol
- Das SSH File Transfer Protocol oder Secure File Transfer Protocol (SFTP) ist eine für die Secure Shell (SSH) entworfene Alternative zum File Transfer Protocol (FTP), die Verschlüsselung ermöglicht.
- Im Unterschied zum FTP über TLS (FTPS) begnügt sich SFTP mit einer einzigen Verbindung zwischen Client und Server.
- Obwohl das Protokoll SFTP im Kontext des SSH-2-Protokolls beschrieben wird, könnte es auch mit anderen Verfahren zur Authentifizierung und Verschlüsselung umgesetzt werden.
$ sftp root@192.168.1.119 passwort : sftp >>
Befehle für sftp
| Befehl | Beschreibung |
| cd path | Change remote directory to 'path' |
| chgrp grp path | Change group of file 'path' to 'grp' |
| chmod mode path | Change permissions of file 'path' to 'mode' |
| chown own path | Change owner of file 'path' to 'own' |
| df [-hi] [path] | Display statistics for current directory or
filesystem containing 'path' |
| exit | Quit sftp |
| get [-afPpRr] remote [local] | Download file |
| reget [-fPpRr] remote [local] | Resume download file |
| reput [-fPpRr] [local] remote | Resume upload file |
| help | Display this help text |
| lcd path | Change local directory to 'path' |
| lls [ls-options [path]] | Display local directory listing |
| lmkdir path | Create local directory |
| ln [-s] oldpath newpath | Link remote file (-s for symlink) |
| lpwd | Print local working directory |
| ls [-1afhlnrSt] [path] | Display remote directory listing |
| lumask umask | Set local umask to 'umask' |
| mkdir path | Create remote directory |
| progress | Toggle display of progress meter |
| put [-afPpRr] local [remote] | Upload file |
| pwd | Display remote working directory |
| quit | Quit sftp |
| rename oldpath newpath | Rename remote file |
| rm path | Delete remote file |
| rmdir path | Remove remote directory |
| symlink oldpath newpath | Symlink remote file |
| version | Show SFTP version |
| !command | Execute 'command' in local shell |
| ! | Escape to loc |