index











zhaoyatao.com

go to bottom

using ssh+name to login a server























# how to use ssh+name to connect a server
# debian & window10







# 1
# create this file
config

# in this folder
C:\Users\Administrator\.ssh










# 2
# add this code:

host default 
hostname xxx.xx.xxx.xx
user xxx
port xxx
IdentityFile C:\Users\Administrator\.ssh\your_private_key
IdentityAgent none









# 3
# open a terminal

ssh default





# 4
# done












back to top