請問有試過SSH連線至Virtualization Station虛擬機的經驗嗎?

各位大大您好
小弟用QNAP的Virtualization Station佈署了一台Cent OS想試。

也已經設好虛擬交換器的橋接了,虛擬機的機器連得到外網
也有在分享器介面看到虛擬機的IP

那接下來問題來了

小弟在ASUS AC66分享器的WAN頁籤
虛擬伺服器的設定

要怎麼樣可以讓外網以SSH連到虛擬機呢?

我在Virtualization Station中的
有看到這個

請問有試過SSH連線至Virtualization Station虛擬機的經驗嗎?


請問這是我連入Forward應該要轉的Port嗎?
還是要怎樣,我才能在Mac終端機上連線到虛擬機呢?


下午01:57更新:
找到原因了,因為用Mac終端機連出現下列訊息:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
這裡依每台電腦而不同
Please contact your system administrator.
Add correct host key in /home/conbar/.ssh/known_hosts to get rid of this message.
Offending key in /home/conbar/.ssh/known_hosts:10
RSA host key for 這裡是伺服器端的IP或網址 has changed and you have requested strict checking.
Host key verification failed.

後來想起之前是用Windows Server 2016架的虛擬機

Google了一下發現原因。

使用
ssh-keygen -R 伺服器端的IP或網址
接下來在連線一次,會出現
Are you sure you want to continue connecting (yes/no)?

這樣已經就可以認證完成了。
2019-07-02 12:17 發佈
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?