-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# XShell5 | ||
https://www.banwagongzw.com/108.html | ||
# 配置自动登录 | ||
``` | ||
echo <rsa_pub_data> > ~/.ssh/authorized_keys | ||
# 权限配置 | ||
drwx------ 2 u0_a278 u0_a278 3452 Sep 21 15:44 .ssh | ||
-rw------- 1 u0_a278 u0_a278 0 Sep 21 15:44 authorized_keys | ||
# 客户端配置 | ||
# 文件:~/.ssh/config | ||
Host 127.0.0.1 | ||
HostName 127.0.0.1 | ||
User u0_a278 | ||
Port 8022 | ||
IdentityFile C:\Users\shlu\.ssh\id_rsa | ||
``` |