开发者

@ symbol valid in Unix username?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜