The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configure DNS jskillet IP Networking 15 08-20-2008 08:34 PM
how to configure VIM ? zedex UNIX for Dummies Questions & Answers 1 12-24-2007 04:47 AM
How to configure NIS in sun 10 rjay.com SUN Solaris 4 12-18-2006 09:37 PM
How to configure DNS q30 UNIX for Advanced & Expert Users 6 06-03-2002 12:31 AM
IP configure Orange UNIX for Dummies Questions & Answers 2 07-26-2001 05:21 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-14-2004
Registered User
 

Join Date: Mar 2004
Posts: 6
configure ssh

Hi,
I'm trying to configure ssh for an application Unix account to remotely execute a command without a password but I've been getting a 'No xauth' warning message each time a remote command is executed.

[em1]$ exec /usr/bin/ssh-agent $SHELL
[em1]$ /usr/bin/ssh-add
Enter passphrase for /home/emapp/.ssh/id_rsa: <enter password>

[em1]$ ssh em2 hostname
Warning: No xauth; using fake authentication data for X11 forwarding.
em2

'ssh em2 hostname' returned the name of the remote host but it also displayed a warning message.

Any idea how I can get rid of the warning message?

OS: Solaris 8

Thanks in advance!

geraldine
Reply With Quote
Forum Sponsor
  #2  
Old 03-15-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Try the -q option for ssh -
quiet mode - causes all warning and diag messages to be suppressed.

See the man page for ssh for more info.
Reply With Quote
  #3  
Old 03-15-2004
Registered User
 

Join Date: Mar 2004
Posts: 6
Thanks for the reply.

Unfortunately the ssh is issued by a vendor's software during an installation and I could not make any modification to it. The installation failed because of the warning message.

Are there any configuration changes that I need to do to prevent the warning message from appearing?

thanks.
Reply With Quote
  #4  
Old 03-15-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Your examples aren't vendor code - you might have stated the true problem in the original post.

Your two options -
Have the vendor fix their code (Good luck)
or
try setting up an alias for ssh to be equal to ssh -q which may take care of the situation.

The warning isn't a bad thing - but the fact that the vendor didn't realize it could happen and code for the possiblities seems to show how well their software may be. Or, there may be a difference in the versions of ssh you are using which is causing your error (and has nothing to do with the vendor's code). And I've found in the past that vendor code can be changed (if it's a script) to get around these types of errors. If it is a script, is it downloaded to your UNIX server already or on cd?

I didn't find anything with a search that supplies an answer to changing your ssh configuration to get rid of the warning. You might want to post the exact scenerio - what type of servers involved, OS/version, ....
Reply With Quote
  #5  
Old 03-15-2004
Registered User
 

Join Date: Mar 2004
Posts: 6
Thanks for your suggestion. The alias actually took care of the problem.

Thanks!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0