Skip to content

Instantly share code, notes, and snippets.

@Elyorbe
Created December 21, 2021 01:03
Show Gist options
  • Save Elyorbe/f0cb3a7cd440ab15d228ba6279c17465 to your computer and use it in GitHub Desktop.
Save Elyorbe/f0cb3a7cd440ab15d228ba6279c17465 to your computer and use it in GitHub Desktop.
ssh into your server with one command.
<#
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