cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3324
Views
0
Helpful
4
Replies

SFTP Server - Password with "@"

Ron Plank
Level 1
Level 1

Is there a delimiter for copy command for SFTP?

 

User:admin

Pass: P@55w0rd

Server IP:1.1.1.1

 

copy sftp://user:pwd@server-ip

copy sftp://admin:P@55w0rd@1.1.1.1 <-- doing this captures 55w0rd as the server-ip.

4 Replies 4

pieterh
VIP
VIP

the syntax is:
   copy sftp://user:pwd@server-ip //filepath ios-file-system:file

the "@"is the delimiter between "usr:pwd" and server ip-address

 

Thanks for the reply pieter. But the issue is, if password has "@" on it. It will make the syntax wrong.

 

 - I would say that although complex passwords are encouraged , the at-sign is a particular  bad choice and or strongly not-recommended as a password character.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

My post meant the same as @marce1000 formulated

as "@" has a special meaning here, you may seek to use an escape sequence like '@' or \@ or ^2
but it makes thinks more simpler just to avoid this character and change to a different password 

as the password P@55w0rd is NOT secure at all this is should be a good advise anyways

Review Cisco Networking for a $25 gift card