cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1272
Views
0
Helpful
1
Replies

SCP not working with LDAP username

oravec.michal
Level 1
Level 1

We have a central linux server, where we are archiving configurations and copy from cisco to this server does not work.

On the server, we are using LDAP usernames like "user@enterprise.com" and there seems to be a problem with cisco interpreting this username as such and is using.

 

copy running-config scp:
Address or name of remote host []? 10.10.10.10
Destination username [oravec]? user@enterprise.com

%Error opening scp://*@enterprise.com@10.10.10.10/router-confg (Invalid IP address or hostname)

 

We tried to escape the username with ' " and \ but it does not work.

 

When we try it with root username the copy is working. But we don't want to use the root username for copying config files for obvious reasons, and our security is only allowing us to use LDAP authentification for servers.

1 Reply 1

marce1000
VIP
VIP

 

  - AFAIK this won't work; IOS will (always) use the first @ (also) as a destination-delimiter; try defining a singlet username on LDAP  such as 'charles' and check whether that works (first of all).

M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !