/etc/sudoers
Defaults env_keep+=SSH_AUTH_SOCK
sudo su - username while keeping ssh key forwarding - Server Fault
Go to list of users who liked
More than 5 years have passed since last update.
Defaults env_keep+=SSH_AUTH_SOCK
sudo su - username while keeping ssh key forwarding - Server Fault
Register as a new user and use Qiita more conveniently
Go to list of users who liked