差異處

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

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
ssh [2016/11/06 17:41]
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 -
行 5: 行 10:
 </​code>​ </​code>​
  
-====== 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 -
行 12: 行 17:
  
 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 ======
 +vim /​etc/​ssh/​sshd_config
 +<code bash>
 +UseDNS no
 +</​code>​
 +
 +====== Show fingerprint ======
 +<code bash>
 +ssh-keygen -lf ~/​.ssh/​id_rsa.pub -E md5
 +</​code>​