The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-12-2009
Peuj Peuj is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 7
Thumbs down

Thanks for the reply.

This doesn't work for me because of missing permissions.

But I've found a solution:

Code:
PLINK.EXE -ssh machinename -l user -pw password bash -l -c 'echo $PATH'

Using bash -l allows me to log on the machine and so load the profile.


Thanks