Skip to content

SSH key for shell access clarification#36

Open
kapitainsky wants to merge 1 commit intoJip-Hop:mainfrom
kapitainsky:ssh_shell_clarification
Open

SSH key for shell access clarification#36
kapitainsky wants to merge 1 commit intoJip-Hop:mainfrom
kapitainsky:ssh_shell_clarification

Conversation

@kapitainsky
Copy link
Contributor

ssh -i /path/to/debug_key -p 2222 tc@IP might not always work as other keys can get preference due to various SSH and ssh-agent settings.

It is much better to be super explicit that we want to connect using specific key (and only this key): ssh -F /dev/null -o IdentitiesOnly=yes -i /path/to/debug_key -p 2222 tc@IP

I have also updated included example.

`ssh -i /path/to/debug_key -p 2222 tc@IP` might not always work as other keys can get preference due to various SSH and ssh-agent settings.

It is much better to be super explicit that we want to connect using specific key (and only this key):
`ssh -F /dev/null -o IdentitiesOnly=yes -i /path/to/debug_key -p 2222 tc@IP`

I have also updated included example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant