Created
December 21, 2021 01:03
-
-
Save Elyorbe/f0cb3a7cd440ab15d228ba6279c17465 to your computer and use it in GitHub Desktop.
ssh into your server with one command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Add following function to your powershell profile. | |
Copy your public key to the remote server to login without password | |
#> | |
function ssh_dev { | |
ssh username@host | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment