On Thu, Apr 10, 2014 at 09:47:26PM -0600, Warren Young wrote: > On 4/10/2014 20:16, Duncan Roe wrote: > >Yes, I'm one of those users. I need my login name to match the Linux systems > >so > >I can use rsh and not be challenged for a password when the cygwin host name > >is > >in ~/.rhosts > > If you switch to SSH, you can solve this by putting this into your > ~/.ssh/config file: > > Host myremotehost > User duncan_roe > > That is, you can override defaults (like login name) on a per-connection > basis. Anything you can pass as an option to ssh(1) can be changed here, so > you don't have to keep providing the option. > > With pre-shared keys, I don't think you'll see a difference in behavior > relative to rsh. > I don't want to switch to ssh. rsh is in an expect script, so providing ssh options every time would not be a problem. But I want to use rsh.
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple