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/
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/
相关文章推荐
- 如何使用SSH向IPOD Touch2传输文件 - How to SSH into iPod Touch 2G [Transfer Files, Apps via SSH Access]
- 如何使用SSH向IPOD Touch2传输文件 - How to SSH into iPod Touch 2G [Transfer Files, Apps via SSH Access] 如何使用SSH向IPOD Touch2传输文件 - How to S
- How to enable an ASP.Net application to run on a SharePoint virtual server
- DateFomrat Mask in ASPxTextbox increases width ,How to disable display of dxeErrorCell on ASPxTextBox
- How to enable Nginx FancyIndex on Ubuntu
- How to disable PackageKit on CentOS, Fedora or RHEL
- How to Enable or Disable DEP in Vista, Windows 7, and Windows 8
- PHP5.6.x编译报错:Don't know how to define struct flock on this system, set --enable-opcache=no
- How to use full bandwidth to transfer files
- 12.1.2: How to Modify and Enable The Configurable Home Page Delivered Via 12.1.2 (Doc ID 1061482.1)
- how to enable or disable registry editing in xp
- How to disable X11 on booting Ubuntu
- How to disable file transfer in RDS environment
- How to disable IPv6 on Ubuntu?
- How to Enable USB Debugging Mode on Android
- How to Install JAVA 8 (JDK 8u91) on Ubuntu & LinuxMint via PPA
- How to fix a "Duplicated Symbols" error on binary files
- Linux: How to Enable SSH on Fedora 16
- How to diff and merge files or directories on Linux
- How to enable virtualization on Thinkpad X1 Carbon with Win10 installed