[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Gentoo Taiwan 討論區 • 檢視主題 - 請問 ssh port setting
1 頁 (共 1 頁)

請問 ssh port setting

文章發表於 : 週五 1月 15, 2010 3:34 pm
samuel

Re: 請問 ssh port setting

文章發表於 : 週五 1月 15, 2010 5:36 pm
jojoyakira
寫成bash檔就可以了啊!我都是寫成bash scripts儲存在~/下,然後./login_others.sh和./copy_to_others.sh執行,很方便的。 :D

Re: 請問 ssh port setting

文章發表於 : 週五 1月 15, 2010 8:13 pm
samuel
謝謝你的經驗分享
這個點子還不錯 XD

Re: 請問 ssh port setting

文章發表於 : 週六 1月 16, 2010 3:55 pm
Jackie
等等
ssh_config(~/.ssh/config 和 /etc/ssh/ssh_config)可以針對個別host作設定喔

man ssh_config
然後看"Host"這個項目的說明

而且就算ssh_config沒有支援
也可以在shell自定義一個叫做ssh的function來自動加上-p port

Re: 請問 ssh port setting

文章發表於 : 週六 1月 16, 2010 4:28 pm
samuel