User Tools

Site Tools


linux:ssh

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:ssh [2017/01/24 11:04]
frank
linux:ssh [2017/01/24 11:22] (current)
frank
Line 1: Line 1:
 +==== SSH ====
 === generate key === === generate key ===
 <​code>​ <​code>​
Line 17: Line 18:
  
 $ ssh -T user@remote.com $ ssh -T user@remote.com
 +</​code>​
  
-=== forwarding of authentication agent connection+=== forwarding of authentication agent connection ​===
 -A enables forwarding of the authentication agent connection. -A enables forwarding of the authentication agent connection.
 local -> server1 -> server2 local -> server1 -> server2
Line 28: Line 30:
 </​code>​ </​code>​
  
-</​code>​+
 === ssh tunnel ssh -L === === ssh tunnel ssh -L ===
  
Line 50: Line 52:
   $ tar -cf - xen_el5_i386_para | gzip -c -9 | ssh root@ostest117 "gzip -dc | tar -xf - -C /​OVS/​rpool"​   $ tar -cf - xen_el5_i386_para | gzip -c -9 | ssh root@ostest117 "gzip -dc | tar -xf - -C /​OVS/​rpool"​
   $ tar czf - xen_el5_i386_para | ssh root@ostest117 "tar xzf - -C /​OVS/​rpool"​   $ tar czf - xen_el5_i386_para | ssh root@ostest117 "tar xzf - -C /​OVS/​rpool"​
 +  ​
 +  ​
 + ==== Reference ===
 +  - https://​wiki.archlinux.org/​index.php/​SSH_keys
linux/ssh.1485284680.txt.gz ยท Last modified: 2017/01/24 11:04 by frank