All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ven-eu.pepper.resources.5.0.source-code.bash_cheatsheet.txt Maven / Gradle / Ivy

The newest version!

Adding a local SSH key to a remote server:
https://www.howtogeek.com/168147/add-public-ssh-key-to-remote-server-in-a-single-command/

# Generate (public and private) keys in local
ssh-keygen -t rsa

# Push local public key to server: this will require a password
cat ~/.ssh/id_rsa.pub | ssh username@hostname 'cat >> .ssh/authorized_keys'

Logs on remote machine:
ssh username@hostname "cat ~/folder/file.log" | less

Copy local file to to remote folder
scp foobar.txt [email protected]:/some/remote/directory




© 2015 - 2025 Weber Informatics LLC | Privacy Policy