How to connect to SSH with '@' character in username

I was given login credentials to a server and there is an @ character in my username. How can I make an SSH connection in my terminal?

username:
host: domain.com

I've tried

$ ssh ""@domain.com
$ ssh -l domain.com

Nothing is seeming to work.

Any help?

1

4 Answers

If the username is you can try this:

$ ssh ''@domain.com 
1

I just created a new user on my system called foo@domain and I could ssh into it perfectly well with just

ssh foo@domain@server

If for whatever reason that does not work for you, you can also do

ssh 'foo@domain'@badabing

or

ssh 'foo\@domain'@badabing
1

Whoever gave you the login credentials may have made a mistake. Have you tried just: ssh ?

3

I think that your username is foo so you should try: ssh that will prompt you for the password.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like