Sponsored Content
Top Forums Shell Programming and Scripting Script_to_Login_Cisco_Router_without_using_Expect Post 302704999 by Jeeva_Ganesan on Monday 24th of September 2012 05:35:44 AM
Old 09-24-2012
I need to do a script using telnet by passing the host IP address as command line input with hard coded credentials in script as we have different set of routers with same credentials
 
KF(1)							    BSD General Commands Manual 						     KF(1)

NAME
kf -- securely forward tickets SYNOPSIS
kf [-p port | --port=port] [-l login | --login=login] [-c ccache | --ccache=ccache] [-F | --forwardable] [-G | --no-forwardable] [-h | --help] [--version] host ... DESCRIPTION
The kf program forwards tickets to a remote host through an authenticated and encrypted stream. Options supported are: -p port, --port=port port to connect to -l login, --login=login remote login name -c ccache, --ccache=ccache remote cred cache -F, --forwardable forward forwardable credentials -G, --no-forwardable do not forward forwardable credentials -h, --help --version kf is useful when you do not want to enter your password on a remote host but want to have your tickets one for example AFS. In order for kf to work you will need to acquire your initial ticket with forwardable flag, i.e. kinit --forwardable. telnet is able to forward tickets by itself. SEE ALSO
kinit(1), telnet(1), kfd(8) Heimdal July 2, 2000 Heimdal
All times are GMT -4. The time now is 03:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy