# How to solve PTY allocation request failed on channel 0 issue for a remote server which runs Forgejo
I have been uploaded my ssh key to remote virtual machine which runs Forgejo as same as the ssh public key on my physical machine. Then I tried to ssh to this virtual machine but I see this error output below :
adduser --system --shell /bin/bash --gecos 'Git Version Control' \
--group --disabled-password --home /home/git git
```
And then I moved forgejo source code into ```git``` user and changed the directory and file permissions for the ```git``` user.
# Conclusion
Now I can ssh into the remote server and clone and push the repositories like I did before with GitHub, GitLab, SourceHut(sr.ht), git.vern.cc, git.disroot.org and Codeberg...