开发者

@ symbol valid in Unix username?

开发者 https://www.devze.com 2023-04-07 14:48 出处:网络
A client has given me SSH access to their web server with the username firstname.lastname@email.co开发者_如何学Cm (my email address).

A client has given me SSH access to their web server with the username firstname.lastname@email.co开发者_如何学Cm (my email address).

I've tried:

ssh firstname.lastname@email.com@555.555.555.555
ssh firstname.lastname+email.com@555.555.555.555

and several other combinations, but no luck.

I don't know anything about the server environment, other than that it's some flavour of Linux.

Before I come back to them saying it doesn't work, perhaps I'm missing something?


Ubuntu Linux is happy to create a user with an at symbol in the name. I created user bob@home and was able to log in using the syntax

ssh bob@home@myserver

as well as with the syntax

ssh -l bob@home myserver

Try using the -l switch to specify the username and see if that works.


If it's password authentication, you could always do:

ssh 555.555.555.555

then enter your username.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号