您的位置:首页 > 运维架构 > Shell

How to enable/disable BASH on vCSA to transfer files via SCP

2016-12-08 10:54 423 查看
If you want to transfer data from or to the vCSA with a client like
WinSCP or e.g. you get the error message “The remote Server sends no
data” or similar.






Go to vSphere Web Client > Administration > System Configuration > Nodes > your vCSA > Manage > Access



You will see that Bash shell is set to disabled, but you can’t change
it via Edit… To change the BASH access you have to go SHELL via SSH.
Connect vCSA via putty

enable SHELL > shell.set –enabled True




start SHELL > shell




activate BASH > chsh -s “/bin/bash” root




Now you can connect vCSA via WinSCP or e.g.
To disable the BASH use the command
chsh -s /bin/appliancesh




原文地址:http://blog.ganser.com/how-to-enabledisable-bash-on-vcsa-to-transfer-files-via-scp/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  vCenter vCSA WinSCP