<div dir="auto"><div>I also very much dislike Ubuntu/Debian, and I very much liked CentOS. I was sad when it was "killed". There are the "Bug-For-Bug" compatible clones like AlmaLinux or RockyLinux ... I prefer to keep it original. Are you aware that RedHat proper is free to use? </div><div dir="auto"><br></div><div dir="auto">Go to <a href="http://redhat.com">redhat.com</a> and create a free account, then go to <a href="http://developer.redhat.com">developer.redhat.com</a> and you can get your free developer account. </div><div dir="auto"><br></div><div dir="auto">I think it's like 20 free systems, which I find to be plenty. </div><div dir="auto"><br></div><div dir="auto">I run my entire homelab stack on RHEL proper.</div><div><br></div><div data-smartmail="gmail_signature">---<br>Thanks,<br>Alexander<br><br>Sent from my Google Pixel 7 Pro</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 1, 2024, 13:17  <<a href="mailto:techlists@phpcoderusa.com">techlists@phpcoderusa.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2024-12-01 08:10, Snyder, Alexander J wrote:<br>
> I'm not sure you're understanding what I meant when I said<br>
> "key-authentication" .... You've mentioned a few times in response to<br>
> that, that you're on a local network.<br>
> <br>
> I'm referring to SSH Keys, so you can quickly authenticate to any of<br>
> your VMs without a password.<br>
<br>
I understand.  I appreciate you suggesting that. I have been aware of <br>
SSH Keys for a long time.  Never have used one.<br>
<br>
I'm a PHP developer.  I first came to know about Linux in around 1998.  <br>
In the beginning it was this really cool counter culture thing.<br>
<br>
I'm working a project that might take another year.  I'll talk about it <br>
then.  It does require things be as simple as possible.  Keep It Simple <br>
Stupid (KISS).<br>
<br>
I do not like using those utilities that mimic Linux that are used by <br>
some for development. I've tried them and find creating VMs on <br>
VirtualBox is far better.  This requires some LAMP skills.  That is my <br>
niche.  I liked CentOS much better because the virtual host docroot was <br>
off the user's home directory.  It was super easy to configure.  Now <br>
with Ubuntu we have to use PHP-FPM so the ssh user is the docroot owner. <br>
  Another layer of complexity.  I have learned enough to get PHP-FPM to <br>
work... Yikes.<br>
<br>
PHP has gotten more complex as well.  Things like Composer, Name Spaces, <br>
Dependency Injection... etc.<br>
<br>
I know all the fancy PHP developers are looking at me like I am crazy, <br>
and maybe I am.  I don't think I am.  I truly want to question what they <br>
are doing.<br>
<br>
I spent a decade on PHP5.  Served me well.<br>
<br>
Several things have shaped my thought on technology.<br>
<br>
Around 1996 I experienced four things:<br>
<br>
1) I ran into a business owner who told me he had written a Basic app to <br>
run his business.<br>
<br>
2) I went into a warehouse that was run on a Commodore 64.<br>
<br>
3) Met a guy that was working on a daycare management system that was <br>
based on the Commodore 64.<br>
<br>
4) I was introduced to dBaseII.<br>
<br>
I am trying to get back to that.  We need to create technology that a <br>
business owner and that middle school kid can use and do something <br>
worthwhile.<br>
<br>
So that is my story and I'm sticking to it!!<br>
<br>
Keith<br>
<br>
<br>
<br>
<br>
<br>
> <br>
> Let me know if you have any questions.<br>
> <br>
> ---<br>
> Thanks,<br>
> Alexander<br>
> <br>
> Sent from my Google Pixel 7 Pro<br>
> <br>
> On Sun, Dec 1, 2024, 07:01 <<a href="mailto:techlists@phpcoderusa.com" target="_blank" rel="noreferrer">techlists@phpcoderusa.com</a>> wrote:<br>
> <br>
>> Since this is only local to my private network, I am going to start<br>
>> over.  I am using virtual box and every time I upgrade I clone the<br>
>> last<br>
>> successful configuration.  So in the case of a failed issue I can<br>
>> start<br>
>> over by deleting the current VM and clone the last successful VM and<br>
>> <br>
>> start over.<br>
>> <br>
>> I'm also going to uninstall VSC since it has configurations going<br>
>> back<br>
>> several years.  I have high hopes for VSC....<br>
>> <br>
>> As for using key-authentication this is all local on a private<br>
>> network<br>
>> and my domains are all non-routable .internal.<br>
>> <br>
>> I use the hosts files for DNS.<br>
>> <br>
>> Wish me luck!!  I may return.<br>
>> <br>
>> On 2024-11-30 15:49, Keith Smith via PLUG-discuss wrote:<br>
>>> Hi Alexander!!<br>
>>> <br>
>>> Thank you for your feedback.<br>
>>> <br>
>>> <br>
>>> On 2024-11-30 15:21, Snyder, Alexander J wrote:<br>
>>>> I use Visual Studio Code a ton. Whenever I've had an issue with<br>
>> SSH on<br>
>>>> code it's usually due to an issue in the SSHD Config.<br>
>>>> <br>
>>>> Check the "output" tab in VSC, as it'll have helpful output<br>
>> there.<br>
>>>> Typically, in the SSHD Config file you'll need:<br>
>>>> <br>
>>>> AllowAgentForwarding yes<br>
>>>> AllowTcpForwarding yes<br>
>>>> TCPKeepAlive yes<br>
>>>> <br>
>>> <br>
>>> I'll check into this.<br>
>>> <br>
>>> <br>
>>> <br>
>>>> I would also *HIGHLY* suggest using key-authentication, just in<br>
>>>> general -- but most especially when using VSC with Remote SSH.<br>
>>>> <br>
>>> <br>
>>> This is only local so I like to keep things simple.<br>
>>> <br>
>>> <br>
>>>> ---<br>
>>>> Thanks,<br>
>>>> Alexander<br>
>>>> <br>
>>>> Sent from my Google Pixel 7 Pro<br>
>>>> <br>
>>>> On Sat, Nov 30, 2024, 14:51 Keith Smith via PLUG-discuss<br>
>>>> <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">plug-discuss@lists.phxlinux.org</a>> wrote:<br>
>>>> <br>
>>>>> Hi,<br>
>>>>> <br>
>>>>> I am having difficulty connecting remote using Visual Studio<br>
>> Code.<br>
>>>>> <br>
>>>>> Desktop is running Kubuntu 24.04lts<br>
>>>>> <br>
>>>>> Remote is a laptop running Win10 with VirtualBox installed and<br>
>>>>> multiple<br>
>>>>> Ubuntu 24.04lts LAMP servers configured.  Only one is running.<br>
>>>>> <br>
>>>>> I have 3 users<br>
>>>>> <br>
>>>>> 1) is the user installed during the Linux install.  It has Sudo<br>
>>>>> privileges.<br>
>>>>> 2) A user that has SSH access that I can SSH into via the<br>
>> konsole on<br>
>>>>> <br>
>>>>> Kubuntu. This is going to be a PHP-FPM virtual host owner.<br>
>>>>> 3) A user that has SSH access that I can SSH into via the<br>
>> konsole on<br>
>>>>> <br>
>>>>> Kubuntu. This is going to be a PHP-FPM virtual host owner.<br>
>>>>> <br>
>>>>> I can SSH into the box remotely using SSH via the konsole on<br>
>>>>> Kubuntu.<br>
>>>>> <br>
>>>>> Users number 2 and three do not have sudo.<br>
>>>>> <br>
>>>>> I can access the virtual hosts via FileZilla using user 2 and 3.<br>
>>>>> <br>
>>>>> I can remote (VSC) into the VM using my sudo user that does not<br>
>> own<br>
>>>>> any<br>
>>>>> vhosts.<br>
>>>>> <br>
>>>>> I will be installing and configuring PHP-FPM so my virtual hosts<br>
>>>>> will be<br>
>>>>> owned by a SSH user so I can do programming in real time /<br>
>> remote.<br>
>>>>> <br>
>>>>> AI gave me a list of things to do and test which I did, such as<br>
>>>>> <br>
>>>>> - Set /etc/ssh/sshd_config to PasswordAuthentication yes. Local<br>
>> and<br>
>>>>> remote are set to PasswordAuthentication yes<br>
>>>>> <br>
>>>>> - sudo tail -f /var/log/syslog - nothing looks like it has<br>
>> anything<br>
>>>>> to<br>
>>>>> do with VSC.<br>
>>>>> <br>
>>>>> - ssh -vvv lamp@ip-address<br>
>>>>> <br>
>>>>> which returns a bunch of stuff and then asks me for the password<br>
>> for<br>
>>>>> <br>
>>>>> lamp@ip-address then connects the konsole w/o an issue:<br>
>>>>> <br>
>>>>> debug3: kex_input_ext_info: extension<br>
>>>>> <a href="mailto:publickey-hostbound@openssh.com" target="_blank" rel="noreferrer">publickey-hostbound@openssh.com</a><br>
>>>>> debug1: kex_ext_info_check_ver:<br>
>> <a href="mailto:publickey-hostbound@openssh.com" target="_blank" rel="noreferrer">publickey-hostbound@openssh.com</a>=<0><br>
>>>>> debug3: kex_input_ext_info: extension <a href="mailto:ping@openssh.com" target="_blank" rel="noreferrer">ping@openssh.com</a><br>
>>>>> debug1: kex_ext_info_check_ver: <a href="mailto:ping@openssh.com" target="_blank" rel="noreferrer">ping@openssh.com</a>=<0><br>
>>>>> debug3: receive packet: type 6<br>
>>>>> debug2: service_accept: ssh-userauth<br>
>>>>> debug1: SSH2_MSG_SERVICE_ACCEPT received<br>
>>>>> debug3: send packet: type 50<br>
>>>>> debug3: receive packet: type 7<br>
>>>>> debug1: SSH2_MSG_EXT_INFO received<br>
>>>>> debug3: kex_input_ext_info: extension server-sig-algs<br>
>>>>> debug1: kex_ext_info_client_parse:<br>
>>>>> <br>
>>>> <br>
>> <br>
> server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,<a href="mailto:sk-ssh-ed25519@openssh.com" target="_blank" rel="noreferrer">sk-ssh-ed25519@openssh.com</a>,<a href="mailto:sk-ecdsa-sha2-nistp256@openssh.com" target="_blank" rel="noreferrer">sk-ecdsa-sha2-nistp256@openssh.com</a>,rsa-sha2-512,rsa-sha2-256><br>
>>>>> debug3: receive packet: type 51<br>
>>>>> debug1: Authentications that can continue: publickey,password<br>
>>>>> debug3: start over, passed a different list publickey,password<br>
>>>>> debug3: preferred<br>
>>>>> gssapi-with-mic,publickey,keyboard-interactive,password<br>
>>>>> debug3: authmethod_lookup publickey<br>
>>>>> debug3: remaining preferred: keyboard-interactive,password<br>
>>>>> debug3: authmethod_is_enabled publickey<br>
>>>>> debug1: Next authentication method: publickey<br>
>>>>> debug3: ssh_get_authentication_socket_path: path<br>
>>>>> '/tmp/ssh-2bwrFHjD6Cmc/agent.1207'<br>
>>>>> debug1: get_agent_identities: bound agent to hostkey<br>
>>>>> debug1: get_agent_identities: ssh_fetch_identitylist: agent<br>
>> contains<br>
>>>>> no<br>
>>>>> identities<br>
>>>>> debug1: Will attempt key: /home/keith/.ssh/id_rsa<br>
>>>>> debug1: Will attempt key: /home/keith/.ssh/id_ecdsa<br>
>>>>> debug1: Will attempt key: /home/keith/.ssh/id_ecdsa_sk<br>
>>>>> debug1: Will attempt key: /home/keith/.ssh/id_ed25519<br>
>>>>> debug1: Will attempt key: /home/keith/.ssh/id_ed25519_sk<br>
>>>>> debug1: Will attempt key: /home/keith/.ssh/id_xmss<br>
>>>>> debug1: Will attempt key: /home/keith/.ssh/id_dsa<br>
>>>>> debug2: pubkey_prepare: done<br>
>>>>> debug1: Trying private key: /home/keith/.ssh/id_rsa<br>
>>>>> debug3: no such identity: /home/keith/.ssh/id_rsa: No such file<br>
>> or<br>
>>>>> directory<br>
>>>>> debug1: Trying private key: /home/keith/.ssh/id_ecdsa<br>
>>>>> debug3: no such identity: /home/keith/.ssh/id_ecdsa: No such<br>
>> file or<br>
>>>>> <br>
>>>>> directory<br>
>>>>> debug1: Trying private key: /home/keith/.ssh/id_ecdsa_sk<br>
>>>>> debug3: no such identity: /home/keith/.ssh/id_ecdsa_sk: No such<br>
>> file<br>
>>>>> or<br>
>>>>> directory<br>
>>>>> debug1: Trying private key: /home/keith/.ssh/id_ed25519<br>
>>>>> debug3: no such identity: /home/keith/.ssh/id_ed25519: No such<br>
>> file<br>
>>>>> or<br>
>>>>> directory<br>
>>>>> debug1: Trying private key: /home/keith/.ssh/id_ed25519_sk<br>
>>>>> debug3: no such identity: /home/keith/.ssh/id_ed25519_sk: No<br>
>> such<br>
>>>>> file<br>
>>>>> or directory<br>
>>>>> debug1: Trying private key: /home/keith/.ssh/id_xmss<br>
>>>>> debug3: no such identity: /home/keith/.ssh/id_xmss: No such file<br>
>> or<br>
>>>>> directory<br>
>>>>> debug1: Trying private key: /home/keith/.ssh/id_dsa<br>
>>>>> debug3: no such identity: /home/keith/.ssh/id_dsa: No such file<br>
>> or<br>
>>>>> directory<br>
>>>>> debug2: we did not send a packet, disable method<br>
>>>>> debug3: authmethod_lookup password<br>
>>>>> debug3: remaining preferred: ,password<br>
>>>>> debug3: authmethod_is_enabled password<br>
>>>>> debug1: Next authentication method: password<br>
>>>>> <br>
>>>>> - - - - -<br>
>>>>> <br>
>>>>> Any Thoughts Much Appreciated!!<br>
>>>>> <br>
>>>>> Keith<br>
>>>>> <br>
>>>>> ---------------------------------------------------<br>
>>>>> PLUG-discuss mailing list: <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>>>>> To subscribe, unsubscribe, or to change your mail settings:<br>
>>>>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>>> ---------------------------------------------------<br>
>>> PLUG-discuss mailing list: <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>>> To subscribe, unsubscribe, or to change your mail settings:<br>
>>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote></div>