在不同帐户之间使用WinSCP切换用户 [英] Switching users using WinSCP between different accounts

查看:1000
本文介绍了在不同帐户之间使用WinSCP切换用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用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切换用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆