1825775 Members
1943 Online
109687 Solutions
New Discussion

ssh

 
SOLVED
Go to solution
Thiyagarajan.s
Frequent Advisor

ssh

Hi greats
i want ssh username@ip 'command'
but the destination machine is running some profile at login
it was asking for some thing and my command is not getting exe
may be i dont want the profile to be executed ?

plz help

Thanks
4 REPLIES 4
Sivakumar TS
Honored Contributor
Solution

Re: ssh


Dear,

Check out this page,

http://www.ssh.com/support/documentation/

Its good !

With Regards,

Siva.
Nothing is Impossible !
Thummalu
Frequent Advisor

Re: ssh

Hi ,

try to run like this

ssh -q username@ip "command"


br
Thummalu
Thiyagarajan.s
Frequent Advisor

Re: ssh

hi
Thanks for your input
ging through doc and what Thummalu suggestd

I am not able to solve it , may be you can suggest more

Thummalu
Frequent Advisor

Re: ssh

Hi ,

can you pot the output of the ssh -v username@ip "command". May be during X11 redirecting or forwarding, the command is hanging.

Also check whether you have properly defined, host based keypairs in both machines.

check cfg files /etc/ssh2/ssh_config and /etc/ssh2/sshd2_config and /.shosts and /.ssh2/ directories...

br
Thummalu