Difference between revisions of "SSH"

Jump to navigation Jump to search
7 bytes added ,  16:22, 24 February 2018
m
no edit summary
m
m
Line 14: Line 14:
# Log in with the account that was assigned to you  
# Log in with the account that was assigned to you  
# On terminal make sure you are at your account home directory: '''cd ~/'''
# On terminal make sure you are at your account home directory: '''cd ~/'''
# If the ".ssh" folder doesn't exist, create one: sudo mkdir .ssh
# If the ".ssh" folder doesn't exist, create one: '''mkdir .ssh'''
# Set the 700 permissions to .ssh: '''sudo chmod 700 .ssh'''
# Set the 700 permissions to .ssh: '''sudo chmod 700 .ssh'''
# Now change directory: '''cd .ssh'''
# Now change directory: '''cd .ssh'''
Line 23: Line 23:
'''From your computer:'''<br />
'''From your computer:'''<br />
Now, to connect to the server that has your public key, and assuming that the server is using port 22786 for SSH:<br />
Now, to connect to the server that has your public key, and assuming that the server is using port 22786 for SSH:<br />
ssh -p 22786 user@host  
'''ssh -p 22786 user@host'''


Thanks!
Thanks!
23

edits

Navigation menu