I have justed installed openSSH and I am having trouble with the server URL for SSH. When open a bash – I can login successfully as
In this directory I have /Git – which is the folder storing my repository – however when I try
ssh user@some.ip.address:/Git
I get
ssh: Could not resolve hostname some.ip.address:/Git: no address associated with the name
When I login via just ssh username@some.ip.address – then execute “ls” – I can see “Git” as a directory.
How do I actually get the proper “Arbitrary URL” in Git correct – i.e. I assumed it was
ssh://user@some.ip.address:/Git
? Thx
You can’t ssh into directory. What are you trying to accomplish? You can use “ssh url”
user@host:/directorywith git, but you can’t ssh there.One more thing you can do with this url is feed it to
sftp: