User Tools

Site Tools


ipaddress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ipaddress [2025/11/30 13:21] zhangykipaddress [2026/01/05 02:29] (current) zhangyk
Line 75: Line 75:
 <fs x-large> <fc #ffffff>White</fc></fs> \\ <fs x-large> <fc #ffffff>White</fc></fs> \\
 <fs large> <fs large>
-101.6.122.12:22 \\+101.6.122.19:22 \\
 xrdp: not available</fs> xrdp: not available</fs>
 </WRAP> </WRAP>
Line 186: Line 186:
 Host white Host white
         User xuelab         User xuelab
-        Hostname 101.6.122.12+        Hostname 101.6.122.19
         Port 22         Port 22
  
Line 235: Line 235:
 2. Sync the file across all servers. 2. Sync the file across all servers.
  
-You can download the script below and run it.+You can copy the contents below, paste it to a file `sync_ssh.sh` in directory `.ssh` and run it by typing "bash sync_ssh.sh".
 <code> <code>
 for server in rainbow olive red blue green marine gold white black indigo orange violet yellow purple; for server in rainbow olive red blue green marine gold white black indigo orange violet yellow purple;
Line 244: Line 244:
         rsync -avz ~/.ssh/config $server:~/.ssh         rsync -avz ~/.ssh/config $server:~/.ssh
 done done
- 
- 
 </code> </code>
  
ipaddress.1764508892.txt.gz · Last modified: 2025/11/30 13:21 by zhangyk