What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-09 18:07:10
python connect sftp with key
import pysftp def upload_file(file_path): private_key = "~/.ssh/your-key.pem" # can use password keyword in Connection instead srv = pysftp.Connection(host="your-host", username="user-name", private_key=private_key... Add solution -
Shell/Bash 2021-09-16 13:42:03
linux commands
ls - list everything in current dirrectory cd directoryname - change directory to given directory cp directorynameofcopied directorynamewheretocopy - copes a file or folder mv directoryoffiletobemoved directrynameofdestinationtomove - moves a file pwd - p... Add solution -
Shell/Bash 2021-08-29 01:23:01
most useful terminal commands
Install: https://git-scm.com/downloads type "clear" / ctrl + l (windows - Linux) / Command + K (Mac) help - show all comands help commandName - help about a specific command Working with Directories: ls - list / list the contents on your curren... Add solution
Best helpers
Ranking is empty