Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040605125859.0323c398@pop.theworld.com> X-Sender: Date: Sat, 05 Jun 2004 13:04:49 -0400 To: "Gregg C Levine" , From: Larry Hall Subject: Re: Changing the default user for an ssh login In-Reply-To: <001c01c44b1d$45035e80$6401a8c0@who5> References: <001c01c44b1d$45035e80$6401a8c0 AT who5> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:50 PM 6/5/2004, you wrote: >Hello from Gregg C Levine >I have a question. How can I change the default user of the Cygwin >version of SSH from my login name to that of the host that I am going >to be logging into? > >In this case it is a Linux box, and the user is root. Examining the >man page for this version of SSH did not prove to be enlightening. This wasn't enlightening? SSH(1) BSD General Commands Manual SSH(1) NAME ssh - OpenSSH SSH client (remote login program) SYNOPSIS ssh [-1246AaCfgkNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D port] [-e escape_char] [-F configfile] [-i identity_file] [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option] ^^^^^^^^^^^^^^^ [-p port] [-R port:host:hostport] [user@]hostname [command] . . . Perhaps this isn't what you're looking for. Given that your question is unclear (why would you want to change your login name to the name of the *host* you're logging into?), I might be misinterpreting your inquiry. But if you're looking to change the login name for ssh to anything, -l is the flag that does it. Did you just miss that or are you really looking for something else? So far, I don't see that your problem is Cygwin specific. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/