cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
800
Views
0
Helpful
1
Replies
oravec.michal
Beginner

SCP not working with LDAP username

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 Advisor

 

  - 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.

Content for Community-Ad