小编Cod*_*ium的帖子

如何在 Windows GUI 客户端中绕过 tty 使用 sudo

我需要通过 ssh 复制文件,但我的权限被拒绝。

如何通过我们的 FileZilla/WinSCP 等 Windows 客户端以 root 用户身份登录?

我尝试执行命令:

sudo su,但我收到错误消息:您必须有 tty 才能运行 sudo。

我尝试解决此错误,但没有运气。

windows ssh filezilla tty winscp

5
推荐指数
1
解决办法
3万
查看次数

Bitbucket - 权限被拒绝(公钥)

我在 github 和 bitbucket 中有 repos。

首先,我想在 bb 和 gh 中使用相同的公钥而没有运气。

所以我创建了另一个公钥,我的 .ssh/config 文件如下所示:

Host bb
    HostName bitbucket.org
    User hg
    PreferredAuthentications publickey
    IdentityFile C:/Documents and Settings/Marek/.ssh/bb

Host github
    HostName github.com
    User git
    PreferredAuthentications publickey
    IdentityFile C:/Documents and Settings/Marek/.ssh/id_rsa
Run Code Online (Sandbox Code Playgroud)

bb.pub 用于 bitbucket。我将此文件中的密钥粘贴到 bitbucket。

我还有

权限被拒绝(公钥)

当我尝试推送我的初始提交时。有人可以帮忙吗?

帮助

git

2
推荐指数
1
解决办法
2669
查看次数

标签 统计

filezilla ×1

git ×1

ssh ×1

tty ×1

windows ×1

winscp ×1