差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
ssh [2017/09/28 17:41]
jz
ssh [2018/01/01 23:11] (目前版本)
jz
行 2: 行 2:
  
 ===== power line font ===== ===== power line font =====
- 
 [[https://​github.com/​eugeii/​consolas-powerline-vim]] [[https://​github.com/​eugeii/​consolas-powerline-vim]]
  
 ===== receive sound via SSH ===== ===== receive sound via SSH =====
- 
 <code bash> <code bash>
 ssh <​user>​@<​remotehost>​ '​arecord -f cd -t raw | oggenc - -r' | mplayer - ssh <​user>​@<​remotehost>​ '​arecord -f cd -t raw | oggenc - -r' | mplayer -
行 13: 行 11:
  
 ===== send sound via SSH ===== ===== send sound via SSH =====
- 
 <code bash> <code bash>
 arecord -f cd -t raw | oggenc - -r | ssh <​user>​@<​remotehost>​ mplayer - arecord -f cd -t raw | oggenc - -r | ssh <​user>​@<​remotehost>​ mplayer -
行 21: 行 18:
 http://​unix.stackexchange.com/​questions/​116919/​redirect-sound-microphone-via-ssh-how-to-telephone-via-ssh http://​unix.stackexchange.com/​questions/​116919/​redirect-sound-microphone-via-ssh-how-to-telephone-via-ssh
  
- +====== ​Disable ​reverse dns ======
-====== ​disable ​reverse dns ====== +
 vim /​etc/​ssh/​sshd_config vim /​etc/​ssh/​sshd_config
 <code bash> <code bash>
 UseDNS no UseDNS no
 +</​code>​
 +
 +====== Show fingerprint ======
 +<code bash>
 +ssh-keygen -lf ~/​.ssh/​id_rsa.pub -E md5
 </​code>​ </​code>​