ubuntu - SSH push to git from remote server -
i having hard time following situation: have remote virtual server store our website files, access server through ssh
connection in ubuntu
terminal. on current desktop ubuntu
have 2 ssh keys should - 1 public , 1 private. in git have added public key local machine. if try connect this:
ssh git@gitlab.domain.com pty allocation request failed on channel 0 welcome gitlab, x x! connection gitlab.domain.com closed.
if connect our remote server , try perform git push git asking me provide password account git@gitlab.domain.com ?
can give me directions going wrong , how handle this?
regards
if understand question correctly. able connect gitlab server local machine git push
fails remote server. need set keys push on remote server. can either copy .ssh/ directory home directory on remote server uses keys.
your connection remote server not have access keys being treated anonymous push , gitlab trying verify are.
Comments
Post a Comment