差異處

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

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
ssh [2016/11/29 15:32]
jz
ssh [2018/01/01 23:11] (目前版本)
jz
行 1: 行 1:
-===== receive ​sound via SSH =====+=====sound redirection ======
  
 +===== power line font =====
 +[[https://​github.com/​eugeii/​consolas-powerline-vim]]
 +
 +===== 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 -
行 7: 行 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 -
行 15: 行 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>​