Re: [gentoo-user] Genlop wonky again

2024-01-08 Thread Wols Lists

On 09/01/2024 03:35, Peter Humphrey wrote:

On Sunday, 7 January 2024 08:34:15 GMT Wols Lists wrote:


Weird! I took a module on statistics in my Open University (Chemistry)
degree 40-odd years ago. Probably the same one? I've still got the
modules as a reference work, though I probably couldn't lay my hands on
them easily now ...


Could have been the same. It was M100, the first version of their maths
foundation course, in 1976.

Ah. So you predate me slightly. I took M101. But I also took the second 
level statistics course, can't remember what it was ...


Cheers,
Wol



Re: [gentoo-user] startx error

2024-01-08 Thread thelma

On 1/8/24 20:15, cal wrote:

On 1/8/24 18:30, the...@sys-concept.com wrote:

When I try to "startx" on a new system I get an error.

X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
Current Operating System: Linux i5_old 6.1.67-gentoo #1 SMP
PREEMPT_DYNAMIC Fri Dec 29 22:33:45 MST 2023 x86_64
Kernel command line: root=UUID=f72ce2ef-55c4-45eb-8bf7-14b2c7b45838
initrd=intel-uc.img initrd=initramfs-6.1.67-gentoo.img
  
 
It was a rush installation, all I needed is to add dbus via rc-update.




Re: [gentoo-user] Genlop wonky again

2024-01-08 Thread Peter Humphrey
On Sunday, 7 January 2024 08:34:15 GMT Wols Lists wrote:

> Weird! I took a module on statistics in my Open University (Chemistry)
> degree 40-odd years ago. Probably the same one? I've still got the
> modules as a reference work, though I probably couldn't lay my hands on
> them easily now ...

Could have been the same. It was M100, the first version of their maths 
foundation course, in 1976.

-- 
Regards,
Peter.






Re: [gentoo-user] startx error

2024-01-08 Thread cal
On 1/8/24 18:30, the...@sys-concept.com wrote:
> When I try to "startx" on a new system I get an error.
> 
> X.Org X Server 1.21.1.10
> X Protocol Version 11, Revision 0
> Current Operating System: Linux i5_old 6.1.67-gentoo #1 SMP
> PREEMPT_DYNAMIC Fri Dec 29 22:33:45 MST 2023 x86_64
> Kernel command line: root=UUID=f72ce2ef-55c4-45eb-8bf7-14b2c7b45838
> initrd=intel-uc.img initrd=initramfs-6.1.67-gentoo.img
>  
> Current version of pixman: 0.42.2
> Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/home/fd/.local/share/xorg/Xorg.0.log", Time: Mon Jan  8
> 19:22:18 2024
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> (EE)
> Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
> (EE)
> (EE)
> Please consult the The X.Org Foundation support
>  at http://wiki.x.org
>  for help.
> (EE) Please also check the log file at
> "/home/fd/.local/share/xorg/Xorg.0.log" for additional information.
> (EE)
> (EE) Server terminated with error (1). Closing log file.
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
> xinit: server error
> 
> 
> cat /home/fd/.local/share/xorg/Xorg.0.log
> [    55.385]
> X.Org X Server 1.21.1.10
> X Protocol Version 11, Revision 0
> [    55.385] Current Operating System: Linux i5_old 6.1.67-gentoo #1 SMP
> PREEMPT_DYNAMIC Fri Dec 29 22:33:45 MST 2023 x86_64
> [    55.385] Kernel command line:
> root=UUID=f72ce2ef-55c4-45eb-8bf7-14b2c7b45838 initrd=intel-uc.img
> initrd=initramfs-6.1.67-gentoo.img
> [    55.385]
> [    55.385] Current version of pixman: 0.42.2
> [    55.385] Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> [    55.385] Markers: (--) probed, (**) from config file, (==) default
> setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [    55.385] (==) Log file: "/home/fd/.local/share/xorg/Xorg.0.log",
> Time: Mon Jan  8 19:22:18 2024
> [    55.385] (==) Using system config directory
> "/usr/share/X11/xorg.conf.d"
> [    55.385] (==) No Layout section.  Using the first Screen section.
> [    55.385] (==) No screen section available. Using defaults.
> [    55.385] (**) |-->Screen "Default Screen Section" (0)
> [    55.385] (**) |   |-->Monitor ""
> [    55.385] (==) No monitor specified for screen "Default Screen Section".
> Using a default monitor configuration.
> [    55.385] (==) Automatically adding devices
> [    55.385] (==) Automatically enabling devices
> [    55.385] (==) Automatically adding GPU devices
> [    55.385] (==) Automatically binding GPU devices
> [    55.385] (==) Max clients allowed: 256, resource mask: 0x1f
> [    55.385] (WW) The directory "/usr/share/fonts/misc" does not exist.
> [    55.385] Entry deleted from font path.
> [    55.385] (WW) The directory "/usr/share/fonts/TTF" does not exist.
> [    55.385] Entry deleted from font path.
> [    55.385] (WW) The directory "/usr/share/fonts/OTF" does not exist.
> [    55.385] Entry deleted from font path.
> [    55.385] (WW) The directory "/usr/share/fonts/Type1" does not exist.
> [    55.385] Entry deleted from font path.
> [    55.385] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
> [    55.385] Entry deleted from font path.
> [    55.385] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
> [    55.385] Entry deleted from font path.
> [    55.385] (==) FontPath set to:
> 
> [    55.385] (==) ModulePath set to "/usr/lib64/xorg/modules"
> [    55.385] (II) The server relies on udev to provide the list of input
> devices.
> If no devices become available, reconfigure udev or disable
> AutoAddDevices.
> [    55.385] (II) Module ABI versions:
> [    55.385] X.Org ANSI C Emulation: 0.4
> [    55.385] X.Org Video Driver: 25.2
> [    55.385] X.Org XInput driver : 24.4
> [    55.385] X.Org Server Extension : 10.0
> [    55.385] (EE) dbus-core: error connecting to system bus:
> org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket
> /run/dbus/system_bus_socket: No such file or directory)
> [    55.385] (--) using VT number 7
> 
> [    55.385] (II) systemd-logind: logind integration requires -keeptty
> and -keeptty was not provided, disabling logind integration
> [    55.386] (II) xfree86: Adding drm device (/dev/dri/card0)
> [    55.386] (II) Platform probe for
> /sys/devices/pci:00/:00:02.0/drm/card0
> [    55.398] (--) PCI:*(0@0:2:0) 8086:4692:1043:8694 rev 12, Mem @
> 0x600200/16777216, 0x40/268435456, I/O @ 0x4000/64, BIOS
> @ 0x/131072
> [    55.398] (II) LoadModule: "glx"
> 

[gentoo-user] startx error

2024-01-08 Thread thelma

When I try to "startx" on a new system I get an error.

X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
Current Operating System: Linux i5_old 6.1.67-gentoo #1 SMP PREEMPT_DYNAMIC Fri 
Dec 29 22:33:45 MST 2023 x86_64
Kernel command line: root=UUID=f72ce2ef-55c4-45eb-8bf7-14b2c7b45838 
initrd=intel-uc.img initrd=initramfs-6.1.67-gentoo.img
 
Current version of pixman: 0.42.2

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/fd/.local/share/xorg/Xorg.0.log", Time: Mon Jan  8 
19:22:18 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/home/fd/.local/share/xorg/Xorg.0.log" 
for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error


cat /home/fd/.local/share/xorg/Xorg.0.log
[55.385]
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[55.385] Current Operating System: Linux i5_old 6.1.67-gentoo #1 SMP 
PREEMPT_DYNAMIC Fri Dec 29 22:33:45 MST 2023 x86_64
[55.385] Kernel command line: 
root=UUID=f72ce2ef-55c4-45eb-8bf7-14b2c7b45838 initrd=intel-uc.img 
initrd=initramfs-6.1.67-gentoo.img
[55.385]
[55.385] Current version of pixman: 0.42.2
[55.385]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[55.385] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[55.385] (==) Log file: "/home/fd/.local/share/xorg/Xorg.0.log", Time: Mon 
Jan  8 19:22:18 2024
[55.385] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[55.385] (==) No Layout section.  Using the first Screen section.
[55.385] (==) No screen section available. Using defaults.
[55.385] (**) |-->Screen "Default Screen Section" (0)
[55.385] (**) |   |-->Monitor ""
[55.385] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[55.385] (==) Automatically adding devices
[55.385] (==) Automatically enabling devices
[55.385] (==) Automatically adding GPU devices
[55.385] (==) Automatically binding GPU devices
[55.385] (==) Max clients allowed: 256, resource mask: 0x1f
[55.385] (WW) The directory "/usr/share/fonts/misc" does not exist.
[55.385]Entry deleted from font path.
[55.385] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[55.385]Entry deleted from font path.
[55.385] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[55.385]Entry deleted from font path.
[55.385] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[55.385]Entry deleted from font path.
[55.385] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[55.385]Entry deleted from font path.
[55.385] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[55.385]Entry deleted from font path.
[55.385] (==) FontPath set to:

[55.385] (==) ModulePath set to "/usr/lib64/xorg/modules"
[55.385] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[55.385] (II) Module ABI versions:
[55.385]X.Org ANSI C Emulation: 0.4
[55.385]X.Org Video Driver: 25.2
[55.385]X.Org XInput driver : 24.4
[55.385]X.Org Server Extension : 10.0
[55.385] (EE) dbus-core: error connecting to system bus: 
org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket 
/run/dbus/system_bus_socket: No such file or directory)
[55.385] (--) using VT number 7

[55.385] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[55.386] (II) xfree86: Adding drm device (/dev/dri/card0)
[55.386] (II) Platform probe for 
/sys/devices/pci:00/:00:02.0/drm/card0
[55.398] (--) PCI:*(0@0:2:0) 8086:4692:1043:8694 rev 12, Mem @ 
0x600200/16777216, 0x40/268435456, I/O @ 0x4000/64, BIOS @ 
0x/131072
[55.398] (II) LoadModule: "glx"
[55.398] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[55.399] (II) Module glx: vendor="X.Org Foundation"
[55.400]compiled for 1.21.1.10, module version = 1.0.0
[55.400]

[gentoo-user] Dolphin and side pain not updating when mounting drives

2024-01-08 Thread Dale
Howdy,

I been noticing this for a while now.  It started maybe a couple months
ago.  At first, I figured it is a bug and will be fixed but now I wonder
if it is just me.  As some know, I have a lot of hard drives.  Sometimes
I unmount those drives and naturally Dolphin returns to the first
directory that it can see.  I expect that.  It has always worked that
way and it should.  Thing is, when I mount those drives again, while I
can navigate in the main window, the folders panel does not update even
after I enter the newly mounted directories.  On occasion, it does. 
Most of the time it doesn't.  Example.  I have path /a/b/c/d/e and then
files.  The mount point, encrypted or not, starts at c.  If I unmount,
Dolphin returns to b.  When I remount, whether it is a encrypted drive
or not, the main window updates when I click on c directory but the
folders panel never shows the little arrow or expands as it normally
does.  Even if I navigate in the main window all the way to the e
directory, the folders panel never 'sees' the newly mounted
folders/directories.  It used to expand as I navigate through directories. 

There are rare times when it does update once I navigate into a
sub-directory but it is rare.  Usually, the only way to make it work
correctly is to start a new instance of Dolphin and duplicate the tabs
and close the old instance.  Once it fails to update the newly mounted
drive, I can't find a way to force it to update.  Again, it behaves this
way on a hard drive whether encrypted or not. 

Is anyone else seeing this sort of behavior? I've looked to see if there
is some new setting for this but I can't find anything, obvious at
least.  It's kind of annoying since sometimes I have about a dozen tabs
open usually to different places that I'm trying to organize files in. 
Sometimes I have to use the back button to see where it was. Can be time
consuming.

If someone else is seeing this, let me know I'm not alone even if you
don't have a fix.  If this is a bug, it may need to be reported.  Most
likely to KDE I'd guess. 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] ssh from linux to Windows

2024-01-08 Thread thelma

On 1/8/24 07:48, Andreas Fink wrote:

On Sat, 6 Jan 2024 20:09:37 -0700
the...@sys-concept.com wrote:


I installed openssh server on Windows 11 and tried to ssh to it using the 
id_rsa.pub key
but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
On linux the last line ending with "\"  on Windows Notepad replaces it with the 
"+" sign.

ssh with password is working  but windows doesn't recognize the public key or 
maybe it is wrong directory  C:\Users\Garry Server\.ssh\authorized_keys



If ssh with password is working, did you try letting ssh decide for the
correct location for your ssh key via ssh-copy-id:
ssh-copy-id -i ~/.ssh/my_key usern...@example.com

First time it will of course log in via password, but any further login
should use the ssh key.

If the key is still not accepted, have you tried a different ssh key
type (e.g. ed25519). Maybe the server rejects RSA keys?


Nice command, thank for the input; but it didn't work with Windows 11

I run:
ssh-copy-id -i ~/.ssh/id_rsa.pub "Glen Server"@10.0.0.130
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/home/joseph/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Glen Server@10.0.0.130's password:
'exec' is not recognized as an internal or external command,
operable program or batch file.

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'Glen Server@10.0.0.130'"
and check to make sure that only the key(s) you wanted were added.

Trying to login again still asked me for password.
On Windows 11 public key should be copied to 
C:\ProgramData\ssh\administrators_authorized_keys



Re:[SOLVED] [gentoo-user] Re: ssh from linux to Windows

2024-01-08 Thread thelma

On 1/8/24 07:34, Nuno Silva wrote:

On 2024-01-08, the...@sys-concept.com wrote:


On 1/8/24 01:41, Nuno Silva wrote:

On 2024-01-08, the...@sys-concept.com wrote:


On 1/6/24 20:09, the...@sys-concept.com wrote:

I installed openssh server on Windows 11 and tried to ssh to it
using the id_rsa.pub key
but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
On linux the last line ending with "\"  on Windows Notepad replaces
it with the "+" sign.

ssh with password is working  but windows doesn't recognize the
public key or maybe it is wrong directory  C:\Users\Garry
Server\.ssh\authorized_keys


Trying to run: "ssh -vv" I get:

debug1: Authenticating to 10.0.0.130:22 as 'Glen Server'
debug1: load_hostkeys: fopen /home/joseph/.ssh/known_hosts2: No such
file or directory

Where is it taking the : "known_hosts2" in home directory .ssh/ I only
have file "known_hosts"
In /etc/ssh/sshd_config (computer ssh is initiated from) I can not
find any reference to "known_hosts2"

Nor, windows \ProgramData\ssh\sshd_config contain any reference to
"known_hosts2"


I think the file to check would be ssh_config on the client side, not
sshd_config. But it's possible it's not mentioned there either, as it
seems to be part of the default at least in some systems, see for
example


The ssh_config on the client side id default, never changed anything in it.
  

https://serverfault.com/questions/1091575/why-does-ssh-think-i-still-have-a-known-hosts2-file

This is just the usual approach of a user-specific file not existing
unless it is created. I'd say you can just ignore this message and focus
on the verbose messages about the authentication mechanisms.


In the link above the suggest fix for "...fix $HOME/.ssh/known_hosts2:
No such file or directory"
to add "UserKnownHostsFile ~/.ssh/known_hosts"
I tried to add it to sshd_config but ssh wouldn't even start.


No, this is not something to fix. This is the ssh utility looking for
that file in one of the default locations and not finding it. That's
just the result of the call which tried to access the file. The same
would happen in known_hosts didn't exist yet.

I mean, you can change the setting if you want (in ssh_config, and not
sshd_config, it probably is not starting because it's not a valid
setting for sshd_config), but you don't have to.


The above error message it just might be the noise, linux to linux all
connections work, it is just linux to windows it is not working.


It is working.  The public key on Windows needs to be placed in 
C:\ProgramData\ssh\administrators_authorized_keys

Administrative user
The contents of your public key (\.ssh\id_rsa.pub) needs to be placed on the 
server into a text file called administrators_authorized_keys in 
C:\ProgramData\ssh\. You can copy your public key using the OpenSSH scp secure 
file-transfer utility, or using a PowerShell to write the key to the file. The 
ACL on this file needs to be configured to only allow access to administrators 
and System.
 



Re: [gentoo-user] ssh from linux to Windows

2024-01-08 Thread Andreas Fink
On Sat, 6 Jan 2024 20:09:37 -0700
the...@sys-concept.com wrote:

> I installed openssh server on Windows 11 and tried to ssh to it using the 
> id_rsa.pub key
> but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
> On linux the last line ending with "\"  on Windows Notepad replaces it with 
> the "+" sign.
> 
> ssh with password is working  but windows doesn't recognize the public key or 
> maybe it is wrong directory  C:\Users\Garry Server\.ssh\authorized_keys
> 

If ssh with password is working, did you try letting ssh decide for the
correct location for your ssh key via ssh-copy-id:
ssh-copy-id -i ~/.ssh/my_key usern...@example.com

First time it will of course log in via password, but any further login
should use the ssh key.

If the key is still not accepted, have you tried a different ssh key
type (e.g. ed25519). Maybe the server rejects RSA keys?





[gentoo-user] Re: ssh from linux to Windows

2024-01-08 Thread Nuno Silva
On 2024-01-08, the...@sys-concept.com wrote:

> On 1/8/24 01:41, Nuno Silva wrote:
>> On 2024-01-08, the...@sys-concept.com wrote:
>>
>>> On 1/6/24 20:09, the...@sys-concept.com wrote:
 I installed openssh server on Windows 11 and tried to ssh to it
 using the id_rsa.pub key
 but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
 On linux the last line ending with "\"  on Windows Notepad replaces
 it with the "+" sign.

 ssh with password is working  but windows doesn't recognize the
 public key or maybe it is wrong directory  C:\Users\Garry
 Server\.ssh\authorized_keys
>>>
>>> Trying to run: "ssh -vv" I get:
>>>
>>> debug1: Authenticating to 10.0.0.130:22 as 'Glen Server'
>>> debug1: load_hostkeys: fopen /home/joseph/.ssh/known_hosts2: No such
>>> file or directory
>>>
>>> Where is it taking the : "known_hosts2" in home directory .ssh/ I only
>>> have file "known_hosts"
>>> In /etc/ssh/sshd_config (computer ssh is initiated from) I can not
>>> find any reference to "known_hosts2"
>>>
>>> Nor, windows \ProgramData\ssh\sshd_config contain any reference to
>>> "known_hosts2"
>>
>> I think the file to check would be ssh_config on the client side, not
>> sshd_config. But it's possible it's not mentioned there either, as it
>> seems to be part of the default at least in some systems, see for
>> example
>
> The ssh_config on the client side id default, never changed anything in it.
>  
>> https://serverfault.com/questions/1091575/why-does-ssh-think-i-still-have-a-known-hosts2-file
>>
>> This is just the usual approach of a user-specific file not existing
>> unless it is created. I'd say you can just ignore this message and focus
>> on the verbose messages about the authentication mechanisms.
>
> In the link above the suggest fix for "...fix $HOME/.ssh/known_hosts2:
> No such file or directory"
> to add "UserKnownHostsFile ~/.ssh/known_hosts"
> I tried to add it to sshd_config but ssh wouldn't even start.

No, this is not something to fix. This is the ssh utility looking for
that file in one of the default locations and not finding it. That's
just the result of the call which tried to access the file. The same
would happen in known_hosts didn't exist yet.

I mean, you can change the setting if you want (in ssh_config, and not
sshd_config, it probably is not starting because it's not a valid
setting for sshd_config), but you don't have to.

> The above error message it just might be the noise, linux to linux all
> connections work, it is just linux to windows it is not working.

-- 
Nuno Silva




Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-08 Thread Arve Barsnes
On Mon, 8 Jan 2024 at 11:18, Dr Rainer Woitok  wrote:
> >   running eix
> > on its own by default only outputs 50 packages, so there's that.
>
> Where do you take this limit from?

Running eix in any way that produces more than 50 package results, it
shows this for me:

Only 50 matches displayed on terminal
Set EIX_LIMIT=0 to show all matches

I can only assume that it detects that the output is a pipe and
ignores this limit.

Not going to investigate, as you found your answers :)

Cheers,
Arve



Re: [gentoo-user] Re: ssh from linux to Windows

2024-01-08 Thread Michael
On Monday, 8 January 2024 13:45:16 GMT the...@sys-concept.com wrote:
> On 1/8/24 01:41, Nuno Silva wrote:
> > On 2024-01-08, the...@sys-concept.com wrote:
> >> On 1/6/24 20:09, the...@sys-concept.com wrote:
> >>> I installed openssh server on Windows 11 and tried to ssh to it
> >>> using the id_rsa.pub key
> >>> but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
> >>> On linux the last line ending with "\"  on Windows Notepad replaces
> >>> it with the "+" sign.
> >>> 
> >>> ssh with password is working  but windows doesn't recognize the
> >>> public key or maybe it is wrong directory  C:\Users\Garry
> >>> Server\.ssh\authorized_keys
> >> 
> >> Trying to run: "ssh -vv" I get:
> >> 
> >> debug1: Authenticating to 10.0.0.130:22 as 'Glen Server'
> >> debug1: load_hostkeys: fopen /home/joseph/.ssh/known_hosts2: No such
> >> file or directory
> >> 
> >> Where is it taking the : "known_hosts2" in home directory .ssh/ I only
> >> have file "known_hosts"
> >> In /etc/ssh/sshd_config (computer ssh is initiated from) I can not
> >> find any reference to "known_hosts2"
> >> 
> >> Nor, windows \ProgramData\ssh\sshd_config contain any reference to
> >> "known_hosts2"
> > 
> > I think the file to check would be ssh_config on the client side, not
> > sshd_config. But it's possible it's not mentioned there either, as it
> > seems to be part of the default at least in some systems, see for
> > example
> 
> The ssh_config on the client side id default, never changed anything in it.
> 
> > https://serverfault.com/questions/1091575/why-does-ssh-think-i-still-have-> 
> > > a-known-hosts2-file
> > 
> > This is just the usual approach of a user-specific file not existing
> > unless it is created. I'd say you can just ignore this message and focus
> > on the verbose messages about the authentication mechanisms.
> 
> In the link above the suggest fix for "...fix $HOME/.ssh/known_hosts2: No
> such file or directory" to add "UserKnownHostsFile ~/.ssh/known_hosts"
> I tried to add it to sshd_config but ssh wouldn't even start.
> 
> The above error message it just might be the noise, linux to linux all
> connections work, it is just linux to windows it is not working.

The known_hosts and known_hosts2 messages you saw in your client are NOT the 
cause of your problem.  If you must set your own default known_hosts file, 
then launch your ssh client like this:

ssh -o GlobalKnownHostsFile=~/.ssh/My_own_known_hosts @

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: ssh from linux to Windows

2024-01-08 Thread thelma

On 1/8/24 01:41, Nuno Silva wrote:

On 2024-01-08, the...@sys-concept.com wrote:


On 1/6/24 20:09, the...@sys-concept.com wrote:

I installed openssh server on Windows 11 and tried to ssh to it
using the id_rsa.pub key
but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
On linux the last line ending with "\"  on Windows Notepad replaces
it with the "+" sign.

ssh with password is working  but windows doesn't recognize the
public key or maybe it is wrong directory  C:\Users\Garry
Server\.ssh\authorized_keys


Trying to run: "ssh -vv" I get:

debug1: Authenticating to 10.0.0.130:22 as 'Glen Server'
debug1: load_hostkeys: fopen /home/joseph/.ssh/known_hosts2: No such
file or directory

Where is it taking the : "known_hosts2" in home directory .ssh/ I only
have file "known_hosts"
In /etc/ssh/sshd_config (computer ssh is initiated from) I can not
find any reference to "known_hosts2"

Nor, windows \ProgramData\ssh\sshd_config contain any reference to
"known_hosts2"


I think the file to check would be ssh_config on the client side, not
sshd_config. But it's possible it's not mentioned there either, as it
seems to be part of the default at least in some systems, see for
example


The ssh_config on the client side id default, never changed anything in it.
 

https://serverfault.com/questions/1091575/why-does-ssh-think-i-still-have-a-known-hosts2-file

This is just the usual approach of a user-specific file not existing
unless it is created. I'd say you can just ignore this message and focus
on the verbose messages about the authentication mechanisms.


In the link above the suggest fix for "...fix $HOME/.ssh/known_hosts2: No such file 
or directory"
to add "UserKnownHostsFile ~/.ssh/known_hosts"
I tried to add it to sshd_config but ssh wouldn't even start.

The above error message it just might be the noise, linux to linux all 
connections work, it is just linux to windows it is not working.


 



Re: [gentoo-user] ssh from linux to Windows

2024-01-08 Thread Benjamin Blanz

looking for known_hosts2 (and also /etc/ssh/ssh_known_hosts and 
/etc/ssh/ssh_known_hosts2)  also happens on my machines, both a debian install 
and my gentoo machine, the files not being present does not prevent the ssh 
connection from working though. So this is probably not the issue.

Judging from comments [1] it appears to be an undocumented legacy feature.

[1] 
https://github.com/search?q=repo%3Aopenssh%2Fopenssh-portable+known_hosts2=commits

On 08.01.24 01:32, the...@sys-concept.com wrote:

On 1/6/24 20:09, the...@sys-concept.com wrote:

I installed openssh server on Windows 11 and tried to ssh to it using the 
id_rsa.pub key
but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
On linux the last line ending with "\"  on Windows Notepad replaces it with the 
"+" sign.

ssh with password is working  but windows doesn't recognize the public key or 
maybe it is wrong directory  C:\Users\Garry Server\.ssh\authorized_keys


Trying to run: "ssh -vv" I get:

debug1: Authenticating to 10.0.0.130:22 as 'Glen Server'
debug1: load_hostkeys: fopen /home/joseph/.ssh/known_hosts2: No such file or 
directory

Where is it taking the : "known_hosts2" in home directory .ssh/ I only have file 
"known_hosts"
In /etc/ssh/sshd_config (computer ssh is initiated from) I can not find any reference to 
"known_hosts2"

Nor, windows \ProgramData\ssh\sshd_config contain any reference to 
"known_hosts2"






OpenPGP_0x7AAC0ED205503D09.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-08 Thread Dr Rainer Woitok
Michael,

On Sunday, 2024-01-07 14:21:20 -0500, you wrote:

> ...
> I do have to follow up on this, the package was renamed,

Bingo!  That's it.   Soon after my last routine  upgrade which installed
"media-video/vlc" version 3.0.20-r2  and its new dependency "media-libs/
libmpg123"  I inadvertently run another  "emaint sync"  which caused the
"-r2" version of "vlc"  not being available any longer and the now avai-
lable version "-r3" with its renamed dependency not yet being installed.

So another upgrade (currently running) will indeed resolve this.

Many thanks :-)

Sincerely,
  Rainer



Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-08 Thread Dr Rainer Woitok
Arve,

On Sunday, 2024-01-07 19:43:31 +0100, you wrote:

> ...
>   running eix
> on its own by default only outputs 50 packages, so there's that.

Not here:

   # env -i eix | grep -v : | grep -c /
   24900
   #

Where do you take this limit from?

Sincerely,
  Rainer



[gentoo-user] Re: ssh from linux to Windows

2024-01-08 Thread Nuno Silva
On 2024-01-08, the...@sys-concept.com wrote:

> On 1/6/24 20:09, the...@sys-concept.com wrote:
>> I installed openssh server on Windows 11 and tried to ssh to it
>> using the id_rsa.pub key
>> but I didn't have luck.  I copied the key to .ssh\authorized_keys file.
>> On linux the last line ending with "\"  on Windows Notepad replaces
>> it with the "+" sign.
>>
>> ssh with password is working  but windows doesn't recognize the
>> public key or maybe it is wrong directory  C:\Users\Garry
>> Server\.ssh\authorized_keys
>
> Trying to run: "ssh -vv" I get:
>
> debug1: Authenticating to 10.0.0.130:22 as 'Glen Server'
> debug1: load_hostkeys: fopen /home/joseph/.ssh/known_hosts2: No such
> file or directory
>
> Where is it taking the : "known_hosts2" in home directory .ssh/ I only
> have file "known_hosts"
> In /etc/ssh/sshd_config (computer ssh is initiated from) I can not
> find any reference to "known_hosts2"
>
> Nor, windows \ProgramData\ssh\sshd_config contain any reference to
> "known_hosts2"

I think the file to check would be ssh_config on the client side, not
sshd_config. But it's possible it's not mentioned there either, as it
seems to be part of the default at least in some systems, see for
example

https://serverfault.com/questions/1091575/why-does-ssh-think-i-still-have-a-known-hosts2-file

This is just the usual approach of a user-specific file not existing
unless it is created. I'd say you can just ignore this message and focus
on the verbose messages about the authentication mechanisms.

-- 
Nuno Silva