raghavginfocus
raghavginfocus

Reputation: 343

How to escape @ in password when doing ssh to remote server?

I want to do ssh to remote server. So the command is

ssh username:password@ipaddress

But if my password contains @ then this command creates a problem. Obviously I can enter password in next step when prompt comes but I want to do in single step as displayed above. How can I escape the @ character?

Upvotes: 3

Views: 3157

Answers (1)

common sense
common sense

Reputation: 3912

You can use the url encoded version of @ sign: %40

Upvotes: 5

Related Questions