First, my use of IP addresses is a force of habit. User at shorthostname does work but, as I do not normally ssh with hostname.> adminlinux at lws2:~$ ssh tuser16 at lws4 > The authenticity of host 'lws4 (192.168.16.220)' can't be established. > ECDSA key fingerprint is > SHA256:iOPtH7sjCWWoWR/92nVv/fWIp0ogRtlHxeRTrC5EePI. > Are you sure you want to continue connecting (yes/no)? yes > Warning: Permanently added 'lws4' (ECDSA) to the list of known > hosts. <<<<<< this is new to me???? > Warning: the ECDSA host key for 'lws4' differs from the key for the IP > address '192.168.16.220' <<<<<< this is new to me, also???? > Offending key for IP in /home/adminlinux/.ssh/known_hosts:1 > Are you sure you want to continue connecting (yes/no)? yes > tuser16 at lws4's password: > Permission denied, please try again. > tuser16 at lws4's password: > Permission denied, please try again. > tuser16 at lws4's password: > tuser16 at lws4: Permission denied > (publickey,gssapi-keyex,gssapi-with-mic,password).As you can see, the password fails but, as I am unfamiliar with the output I see here (using a short hostname) I am not sure this is the correct output. And I am uncertain as to what I need to do to correct this? On Sat, Sep 26, 2020 at 8:02 AM Rowland penny via samba < samba at lists.samba.org> wrote:> On 26/09/2020 13:40, Robert Wooden wrote: > > Without trying your suggestions, I know that a domain user cannot > > login via ssh. > > > > I have to assume at this point that if I cannot login with a domain > > user via ssh we need to solve that first? > > > > (I hate to assume anything, but . . . .) > > It isn't an assumption, it is a fact. > > I take it you can logon via ssh as root, if so, does 'getent passwd > tuser16' produce output, if not, you need to fix this. > > Also, you are trying to log in via ssh using an ipaddress, why ? does > using the short hostname work (try with root first), if it doesn't, you > need to fix this. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On 26/09/2020 14:52, Robert Wooden wrote:> First, my use of IP addresses is a force of habit. User at shorthostname > does work but, as I do not normally ssh with hostname. > > adminlinux at lws2:~$ ssh tuser16 at lws4 > The authenticity of host 'lws4 (192.168.16.220)' can't be established. > ECDSA key fingerprint is > SHA256:iOPtH7sjCWWoWR/92nVv/fWIp0ogRtlHxeRTrC5EePI. > Are you sure you want to continue connecting (yes/no)? yes > Warning: Permanently added 'lws4' (ECDSA) to the list of known > hosts. <<<<<< this is new to me???? > Warning: the ECDSA host key for 'lws4' differs from the key for > the IP address '192.168.16.220' <<<<<< this is new to me, also???? >Perfectly normal, you can ignore this.> > Offending key for IP in /home/adminlinux/.ssh/known_hosts:1 > Are you sure you want to continue connecting (yes/no)? yes > tuser16 at lws4's password: > Permission denied, please try again. > tuser16 at lws4's password: > Permission denied, please try again. > tuser16 at lws4's password: > tuser16 at lws4: Permission denied > (publickey,gssapi-keyex,gssapi-with-mic,password). > > As you can see, the password fails but, as I am unfamiliar with the > output I see here (using a short hostname) I am not sure this is the > correct output. > And I am uncertain as to what I need to do to correct this?Did you try logging in as root on lws4 and running 'getent passwd tuser16' ? and if you did, did you get any output ??? Rowland
Yes, sorry, forgot to include in the last email.> root at lws4:~# getent passwd tuser16 > tuser16:*:10016:10000:User 16. Test:/home/WKDOM/tuser16:/bin/sh >On Sat, Sep 26, 2020 at 9:02 AM Rowland penny via samba < samba at lists.samba.org> wrote:> On 26/09/2020 14:52, Robert Wooden wrote: > > First, my use of IP addresses is a force of habit. User at shorthostname > > does work but, as I do not normally ssh with hostname. > > > > adminlinux at lws2:~$ ssh tuser16 at lws4 > > The authenticity of host 'lws4 (192.168.16.220)' can't be > established. > > ECDSA key fingerprint is > > SHA256:iOPtH7sjCWWoWR/92nVv/fWIp0ogRtlHxeRTrC5EePI. > > Are you sure you want to continue connecting (yes/no)? yes > > Warning: Permanently added 'lws4' (ECDSA) to the list of known > > hosts. <<<<<< this is new to me???? > > Warning: the ECDSA host key for 'lws4' differs from the key for > > the IP address '192.168.16.220' <<<<<< this is new to me, also???? > > > Perfectly normal, you can ignore this. > > > > Offending key for IP in /home/adminlinux/.ssh/known_hosts:1 > > Are you sure you want to continue connecting (yes/no)? yes > > tuser16 at lws4's password: > > Permission denied, please try again. > > tuser16 at lws4's password: > > Permission denied, please try again. > > tuser16 at lws4's password: > > tuser16 at lws4: Permission denied > > (publickey,gssapi-keyex,gssapi-with-mic,password). > > > > As you can see, the password fails but, as I am unfamiliar with the > > output I see here (using a short hostname) I am not sure this is the > > correct output. > > And I am uncertain as to what I need to do to correct this? > > Did you try logging in as root on lws4 and running 'getent passwd > tuser16' ? and if you did, did you get any output ??? > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >