【发布时间】:2022-06-14 09:09:10
【问题描述】:
我正在使用SSH 登录vSphere VM (FreeBSD) 并收到以下错误-
Shared object "libintl.so.9" not found, required by "bash"
Connection to xxx closed.
我错误地将 root 用户的 shell 更改为 bash。我可以使用csh 提前登录。我无法运行chsh 或任何其他命令,因为我无法登录服务器。
有没有办法在 SSH 登录时恢复 shell 更改或指定 shell?我尝试使用 vSphere 重新启动 VM,但仍然出现相同的错误。
我也尝试过使用FileZilla 的sftp,但由于它使用SSH,我收到以下错误-
Status: Connected to xxx
Error: FATAL ERROR: Received unexpected end-of-file from SFTP server
Error: Could not connect to server
【问题讨论】:
-
请将您的问题移至Super User(在此处删除,在此处重新发布)。这是off-topic here。
标签: ssh sftp freebsd filezilla vsphere