You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expect to get a response like ssh or COCKPIT(WEBSHELL) as follows
Enter passphrase for key '/home/server/.ssh/id_rsa':
Hi penM000! You've successfully authenticated, but GitHub does not provide shell access.
Solution
It works properly by discarding the environment variables as follows.
server@server1:~$ ssh -T github
sign_and_send_pubkey: signing failed: agent refused operation
git@github.com: Permission denied (publickey).
server@server1:~$ sudo -E -u `whoami` ssh -T github
sign_and_send_pubkey: signing failed: agent refused operation
git@github.com: Permission denied (publickey).
server@server1:~$ sudo -u `whoami` ssh -T github
Enter passphrase for key '/home/server/.ssh/id_rsa':
Hi penM000! You've successfully authenticated, but GitHub does not provide shell access.
or
server@server1:~$ sudo su root
root@server1:/home/server# su server
server@server1:~$ ssh -T github
Enter passphrase for key '/home/server/.ssh/id_rsa':
Hi penM000! You've successfully authenticated, but GitHub does not provide shell access.
OS/Web Information
code-server --version: 3.9.3 fe2dc2dSteps to Reproduce
1.Execute
ssh -T github.2.An error will be displayed.
Expected
Expect to get a response like ssh or COCKPIT(WEBSHELL) as follows
Solution
It works properly by discarding the environment variables as follows.
or