是否可以使用WinSCP在用户帐户之间切换?
Is there way to switch between user accounts using WinSCP?
使用PuTTY时,可以使用su命令在不同帐户之间切换用户.
When I am using PuTTY, I can use su command to switch users between different accounts.
例如:
kitis@localhost$ kitis@localhost$ su abc abc@localhost$以同样的方式,当我使用WinSCP时,是否有一种方法可以在我登录服务器后切换用户?
In the same way, when I am using WinSCP, is there a way for me to switch users while I have logged in to a server?
推荐答案不,这是不可能的.当您想使用SCP切换用户(在您的情况下为WinSCP)时,需要重新登录.您不能在SCP会话中运行任何命令,而只能管理文件. fnd SCP协议本身不支持更改当前用户ID的机制.如果您想在会话中更改用户,则必须使用SSH.
No, it is impossible. When you want to switch user using SCP (WinSCP in your case) your need to relogin. You can't run any commands in SCP-session, just manage files; fnd SCP-protocol itself supports no mechanisms to change current users' id. You must use SSH if you want to have a possibility to change a user in a session.
更多推荐
在不同帐户之间使用WinSCP切换用户
发布评论