【Ubuntu Package】 'openssh-server' has no installation candidate SSH 連線

剛裝好Ubuntu
他預設沒有ssh供我用Xshell連線 (最近出了Xshell5喔,點這裡)

所以只好先安裝SSHserver了
# sudo apt-get install openssh-server
結果他居然回我
'openssh-server' has no installation candidate 
原因是套件資訊並不是最新的
所以下指令來更新
# sudo apt-get update
再安裝一次openssh-server 收工!

留言