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

Solution 1:

If the username is [email protected] you can try this:

$ ssh '[email protected]'@domain.com 

Solution 2:

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

Solution 3:

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

Solution 4:

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