At Wed, 18 Mar 2020 13:35:19 -0400 [email protected] wrote:

> 
> On Tue, 17 Mar 2020 20:50:45 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user
> [email protected] wrote:
> 
> >Never mind i figured it out
> >sudo ssh 193.168.7.2 -l debian
> >Then used temppwd that worked
> 
>       Silly question: why do you need "sudo"? (Oh, is that 193 a typo? The
> normal private LAN prefix is 192.168).
> 
>       The only thing I can see that getting you is that SSH will attempt to
> pass the credentials of the root user as the login to the BBB end. Without
> "sudo" it would have defaulted to passing credentials as the R-Pi regular
> user (pi, if you haven't changed it). Passing the target (BBB) login name
> supercedes either of those defaults.
> 
>       I haven't checked the syntax for SSH in Linux, but under Windows it
> appears that using "user@address"

Same for Linux.  This is "standard" for ssh.

> 
> C:\Users\Wulfraed>ssh [email protected]
> The authenticity of host '192.168.7.2 (192.168.7.2)' can't be established.
> ECDSA key fingerprint is
> SHA256:K22aW35XI0ZGh32/KHvHQTsCDl7hRzRHGuuoKJ8EtNU.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added '192.168.7.2' (ECDSA) to the list of known
> hosts.
> Debian GNU/Linux 9
> 
> does the same as the "address -l user" option (and is actually documented
> in the Debian ssh command: 
> 
> usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
>            [-D [bind_address:]port] [-E log_file] [-e escape_char]
>            [-F configfile] [-I pkcs11] [-i identity_file]
>            [-J [user@]host[:port]] [-L address] [-l login_name] [-m
> mac_spec]
>            [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R
> address]
>            [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
>            [user@]hostname [command]
> 
> 
>       I've never dug into SSH deep enough to set up security files on both
> ends. With the proper security entries AND with identical user names on
> both ends, "ssh hostname" is sufficient to connect and log-in with no
> password prompts. But since BBB default is to lock out root login, and the
> user accounts are different "debian" vs "pi", such a feature isn't useful
> -- it makes sense in an environment where every computer has been
> configured with every username...
> 
> 

-- 
Robert Heller             -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services
    

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/20200318195004.937752201D5%40sharky4.deepsoft.com.

Reply via email to