SCP not working with LDAP username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2018 06:52 AM - edited 03-01-2019 06:40 PM
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.
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2018 08:38 AM - edited 07-05-2018 11:43 AM
- 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.
-- 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! '
