ashleyd203
asked on
Cannot use plink with cisco IOS
Hi,
i have tested plink successfully on PX/ASA. However the same command does not work with cisco router.
I need to authenticate with secret before running the command
the command file is as follows:
en
enablepassword
command
I have seen the posts on here, try redirection, spaces between commands but I still get
Line has invalid autocommand " error message.
Is there a solution, please help.
Thanks,
Ashley
i have tested plink successfully on PX/ASA. However the same command does not work with cisco router.
I need to authenticate with secret before running the command
the command file is as follows:
en
enablepassword
command
I have seen the posts on here, try redirection, spaces between commands but I still get
Line has invalid autocommand " error message.
Is there a solution, please help.
Thanks,
Ashley
ASKER
Hi,
I have also tried the same space, same issues. I am using version 1, let me try with version 2.
May be this will help.
Unfortunately, privilege 15 is not allowed in our environment, authentication is done with RADIUS server and AD server.
I have also tried the same space, same issues. I am using version 1, let me try with version 2.
May be this will help.
Unfortunately, privilege 15 is not allowed in our environment, authentication is done with RADIUS server and AD server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad you found a solution :)
I'll keep this in mind for future reference.
I'll keep this in mind for future reference.
ASKER
Did not get a valid answer but it is more of a constraint than anything. So I used another tool which means also that the initial question may not be related.
Put a space between each command:
en
enablepassword
command
Are you using ssh v1? try v2.
Assign the user you use to login a privilege level of 15 (if you haven't done so already).
I'll add some topics to draw some more attention to this question.