10-10-2008 09:31 AM
I have a bunch of automated ssh scripts to query my 3900s and 12ks running 5.02 . I am moving to 4900s and 48Ks running Fabos 5.3 ... when I set up switches with my public key I cannot get ssh logins to load the right profile and with the path to run the command. All my scripts run using the "user" id. Any help would be appreciated.
Thanks in advance. Nick A.
11-03-2008 11:48 AM
This is related to "bug" within 5.3 and some later versions like fos6.0.
You have to add the pathes to your commands than it should work. Login as root and find the specific command.
Try to run your commands like this: bash --login -c \'PATH=/fabos/link_abin:/fabos/link_sbin:/fabos/li
With Perl and ssh this works fine.
Best regards Andy