public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Changing the default user for an ssh login
@ 2004-06-07 13:13 Warren, Matthew (Retail)
  0 siblings, 0 replies; 7+ messages in thread
From: Warren, Matthew (Retail) @ 2004-06-07 13:13 UTC (permalink / raw)
  To: Cygwin List

My 2p,

I believe it is also possible to give the login address in the format

#>ssh user@host

Although, both -l and user@ are not actually changing the default, you
are just specifying a user on the command line. I would expect the
behaviour, had the default actually been changed, to be such that 'ssh
host' would not use the logged in name, but the default you want. I
don't think that's possible.


Matt.

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Larry Hall
Sent: Saturday, June 05, 2004 6:05 PM
To: Gregg C Levine; cygwin@cygwin.com
Subject: Re: Changing the default user for an ssh login

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/



___________________________ Disclaimer Notice __________________________
This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited.

Internet communications are not always secure and therefore the Powergen Group does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Powergen Group.

Registered addresses:

Powergen UK plc, Westwood Way, Westwood Business Park,
Coventry CV4 8LG.
Registered in England & Wales No. 2366970

Powergen Retail Limited,  Westwood Way, Westwood Business Park,
Coventry CV4 8LG.
Registered in England and Wales No: 3407430

Telephone     +44 (0) 2476 42 4000
Fax                +44 (0) 2476 42 5432


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Changing the default user for an ssh login
@ 2004-06-07 13:14 Warren, Matthew (Retail)
  0 siblings, 0 replies; 7+ messages in thread
From: Warren, Matthew (Retail) @ 2004-06-07 13:14 UTC (permalink / raw)
  To: cygwin

This will teach me to read the whole thread ... ;P

Matt.

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Brian Dessent
Sent: Saturday, June 05, 2004 8:19 PM
To: cygwin@cygwin.com
Subject: Re: Changing the default user for an ssh login

Gregg C Levine wrote:

> 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.

Try "man ssh_config".  There you can supply global defaults and per-host
overrides for most parameters, including user login name.

Brian

--
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/



___________________________ Disclaimer Notice __________________________
This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited.

Internet communications are not always secure and therefore the Powergen Group does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Powergen Group.

Registered addresses:

Powergen UK plc, Westwood Way, Westwood Business Park,
Coventry CV4 8LG.
Registered in England & Wales No. 2366970

Powergen Retail Limited,  Westwood Way, Westwood Business Park,
Coventry CV4 8LG.
Registered in England and Wales No: 3407430

Telephone     +44 (0) 2476 42 4000
Fax                +44 (0) 2476 42 5432


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Changing the default user for an ssh login
  2004-06-05 17:10 ` Larry Hall
@ 2004-06-05 19:30   ` Thorsten Kampe
  0 siblings, 0 replies; 7+ messages in thread
From: Thorsten Kampe @ 2004-06-05 19:30 UTC (permalink / raw)
  To: cygwin

* Larry Hall (2004-06-05 19:04 +0100)
> 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]

                                              ^^^^^
...also...


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Changing the default user for an ssh login
  2004-06-05 16:56 Gregg C Levine
  2004-06-05 17:07 ` Thorsten Kampe
  2004-06-05 17:10 ` Larry Hall
@ 2004-06-05 19:19 ` Brian Dessent
  2 siblings, 0 replies; 7+ messages in thread
From: Brian Dessent @ 2004-06-05 19:19 UTC (permalink / raw)
  To: cygwin

Gregg C Levine wrote:

> 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.

Try "man ssh_config".  There you can supply global defaults and per-host
overrides for most parameters, including user login name.

Brian

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Changing the default user for an ssh login
  2004-06-05 16:56 Gregg C Levine
  2004-06-05 17:07 ` Thorsten Kampe
@ 2004-06-05 17:10 ` Larry Hall
  2004-06-05 19:30   ` Thorsten Kampe
  2004-06-05 19:19 ` Brian Dessent
  2 siblings, 1 reply; 7+ messages in thread
From: Larry Hall @ 2004-06-05 17:10 UTC (permalink / raw)
  To: Gregg C Levine, cygwin

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Changing the default user for an ssh login
  2004-06-05 16:56 Gregg C Levine
@ 2004-06-05 17:07 ` Thorsten Kampe
  2004-06-05 17:10 ` Larry Hall
  2004-06-05 19:19 ` Brian Dessent
  2 siblings, 0 replies; 7+ messages in thread
From: Thorsten Kampe @ 2004-06-05 17:07 UTC (permalink / raw)
  To: cygwin

* Gregg C Levine (2004-06-05 18:50 +0100)
> 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.

It's mentioned twice within the first ten lines of the man page
(Synopsis).

Thorsten


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Changing the default user for an ssh login
@ 2004-06-05 16:56 Gregg C Levine
  2004-06-05 17:07 ` Thorsten Kampe
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Gregg C Levine @ 2004-06-05 16:56 UTC (permalink / raw)
  To: cygwin

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.
-------------------
Gregg C Levine hansolofalcon@worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke."  Obi-Wan Kenobi


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-06-07 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-07 13:13 Changing the default user for an ssh login Warren, Matthew (Retail)
  -- strict thread matches above, loose matches on Subject: below --
2004-06-07 13:14 Warren, Matthew (Retail)
2004-06-05 16:56 Gregg C Levine
2004-06-05 17:07 ` Thorsten Kampe
2004-06-05 17:10 ` Larry Hall
2004-06-05 19:30   ` Thorsten Kampe
2004-06-05 19:19 ` Brian Dessent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).