Re: Unable to SSH into Server

2024-11-04 Thread David Schwartz via PLUG-discuss
> On Nov 4, 2024, at 5:09 PM, Rusty Carruth via PLUG-discuss > wrote: > > > … especially if 'someone' starts spending as much effort doing > 'code-generating' AI work as they are doing 'picture creating' AI work and > such ;-) > Yup, I agree with all you said. And I suspect what you’re s

AI impact on programming -- was: Unable to SSH into Server

2024-11-04 Thread David Schwartz via PLUG-discuss
The entire process is going to be transformed. Can’t relate to it using current benchmarks. There’s a growing number of apps that are using an interview process to collect data and then use the answers to combine with other info and known patterns or templates to spit out something of interest,

Re: Unable to SSH into Server

2024-11-04 Thread Rusty Carruth via PLUG-discuss
On 11/4/24 14:59, Keith Smith via PLUG-discuss wrote: On 2024-11-04 11:30, David Schwartz via PLUG-discuss wrote: Not what anybody wants to hear but … AI is going to transform this thing we call “programming”. It has already.  I use it regularly.  It helped me configure my LAMP server to u

Re: Unable to SSH into Server

2024-11-04 Thread James Mcphee via PLUG-discuss
Do you think AI is going to cause a skills gap where you can do jr level tasks with it, but moving from jr to sr is a giant leap because the smooth learning curve is distorted by how easy it is to do basic things? On Mon, Nov 4, 2024 at 3:06 PM Keith Smith via PLUG-discuss < plug-discuss@lists.phx

Re: Unable to SSH into Server

2024-11-04 Thread Keith Smith via PLUG-discuss
On 2024-11-04 11:30, David Schwartz via PLUG-discuss wrote: Not what anybody wants to hear but … AI is going to transform this thing we call “programming”. It has already. I use it regularly. It helped me configure my LAMP server to use php-fpm. I've played with enough to know it can prog

Re: Unable to SSH into Server

2024-11-04 Thread Keith Smith via PLUG-discuss
On 2024-11-04 11:35, Arun Khan wrote: On Mon, Nov 4, 2024 at 10:58 AM Keith Smith via PLUG-discuss wrote: Turned out to be a mis-configuration of /etc/ssh/sshd_config. Thanks!! What was the misconfiguration? Please share the details, so others can learn from your experience When I opened

Re: Unable to SSH into Server

2024-11-04 Thread Arun Khan via PLUG-discuss
On Mon, Nov 4, 2024 at 10:58 AM Keith Smith via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Turned out to be a mis-configuration of /etc/ssh/sshd_config. > > Thanks!! > > What was the misconfiguration? Please share the details, so others can learn from your experience -- Arun Khan --

Re: Unable to SSH into Server

2024-11-04 Thread David Schwartz via PLUG-discuss
Not what anybody wants to hear but … AI is going to transform this thing we call “programming”. The “programming” process is going to become more high-level and abstract. The “coding" stuff will become hidden in the background and nobody will care about the language being used. Descriptions

Re: Unable to SSH into Server

2024-11-04 Thread Keith Smith via PLUG-discuss
Turned out to be a mis-configuration of /etc/ssh/sshd_config. Thanks!! On 2024-10-21 23:22, Rusty Carruth via PLUG-discuss wrote: The other questions are all great, but can you ssh from the server to itself as the desired user?  That is, ssh theSSHdude@localhost , which should hopefully rule

Re: Unable to SSH into Server

2024-11-04 Thread Keith Smith via PLUG-discuss
On 2024-10-21 21:55, Arun Khan via PLUG-discuss wrote: On Mon, Oct 21, 2024 at 7:24 PM Keith Smith via PLUG-discuss wrote: Hi, I am a little stuck. I am trying to configure a user that will allow me to log into an Ubuntu 24.04lts server via SSH. I created a line : "AllowUsers default" in /e

Re: Unable to SSH into Server

2024-11-04 Thread Keith Smith via PLUG-discuss
Hi Alexander, I'm a PHP developer and my audience on YouTube, I would guess, are people wanting to learn PHP. I use Linux to support my PHP programming. I'm wondering if there is some value in not automating so one has to do these tasks over and over. I'm thinking this can help the learning

Re: Unable to SSH into Server

2024-10-22 Thread Keith Smith via PLUG-discuss
I've seen YAML maybe two times and have never used it. On 2024-10-22 15:44, Snyder, Alexander J wrote: Ansible is YAML, so it's dead simple from the perspective of a PHP Dev. -- Thanks, Alexander Sent from my Google Pixel 7 Pro On Tue, Oct 22, 2024, 15:35 wrote: What is the learning cu

Re: Unable to SSH into Server

2024-10-22 Thread Snyder, Alexander J via PLUG-discuss
Ansible is YAML, so it's dead simple from the perspective of a PHP Dev. -- Thanks, Alexander Sent from my Google Pixel 7 Pro On Tue, Oct 22, 2024, 15:35 wrote: > > What is the learning curve for that? > > > On 2024-10-22 15:09, Snyder, Alexander J wrote: > > I think a lot of this could be made

Re: Unable to SSH into Server

2024-10-22 Thread Keith Smith via PLUG-discuss
What is the learning curve for that? On 2024-10-22 15:09, Snyder, Alexander J wrote: I think a lot of this could be made a lot easier with Ansible and Jinja templates. -- Thanks, Alexander Sent from my Google Pixel 7 Pro On Tue, Oct 22, 2024, 13:39 Keith Smith via PLUG-discuss wrote: Th

Re: Unable to SSH into Server

2024-10-22 Thread Snyder, Alexander J via PLUG-discuss
I think a lot of this could be made a lot easier with Ansible and Jinja templates. -- Thanks, Alexander Sent from my Google Pixel 7 Pro On Tue, Oct 22, 2024, 13:39 Keith Smith via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Thank You Everyone!! > > Seems the problem was I needed to

Re: Unable to SSH into Server

2024-10-22 Thread Keith Smith via PLUG-discuss
Thank You Everyone!! Seems the problem was I needed to uncomment "PasswordAuthentication yes". When creating a user with SSH ability. Keith On 2024-10-22 10:46, Rusty Carruth via PLUG-discuss wrote: ChatGPT gave a more complete answer than I do below (the question was: This person is using

Re: Unable to SSH into Server

2024-10-22 Thread Rusty Carruth via PLUG-discuss
ChatGPT gave a more complete answer than I do below (the question was: This person is using vhost, and thinks he wants to chroot to the docroot of the vhost when the user logs in. What do you think of that?) (I never thought I'd be pointing people to an AI for answers! ;-) On 10/22/24 10:42,

Re: Unable to SSH into Server

2024-10-22 Thread Rusty Carruth via PLUG-discuss
One thing I don't understand, below. On 10/22/24 10:25, Keith Smith via PLUG-discuss wrote: Hi, I appreciate all the feedback.  There is more to the story. The 3 things I think I need to accomplish: 1) Add a user and configure it to use SSH. 2) Configure each vhost to use PHP-FPM. 3) Li

Re: Unable to SSH into Server

2024-10-22 Thread Stephen Partington via PLUG-discuss
thats strange. you cannot incorporate a sudo -u apache into the mix? how does vs-code work with its ssh protocols? On Tue, Oct 22, 2024 at 1:25 PM wrote: > Hi, > > I appreciate all the feedback. There is more to the story. > > I am running a 10 year old Dell that is my daily driver. It has Ku

Re: Unable to SSH into Server

2024-10-22 Thread Keith Smith via PLUG-discuss
Hi, I appreciate all the feedback. There is more to the story. I am running a 10 year old Dell that is my daily driver. It has Kubuntu installed on it. I have a MSW10 laptop on my private network that I have installed VirtualBox on. I am a PHP developer so I use LAMP to further my goals

Re: Unable to SSH into Server

2024-10-22 Thread Stephen Partington via PLUG-discuss
The sshd pam setting is the one you want to make sure works because that appears to link sshd access to valid system users for ssh access. This is a link to my bog stock login. and any user I create (as a system user) can access via SSH. except for root. but root cannot even log in at this point.

Re: Unable to SSH into Server

2024-10-21 Thread Rusty Carruth via PLUG-discuss
'for fun' I pasted the text of your email in to chatgpt, it had some interesting advice: *Verify User Exists*:  - probably not your problem. *Check User's Shell*: Ensure that the user "default" has a valid shell. You can check the user's entry in |/etc/passwd| |Good suggestion, imho, but you d

Re: Unable to SSH into Server

2024-10-21 Thread Rusty Carruth via PLUG-discuss
The other questions are all great, but can you ssh from the server to itself as the desired user?  That is, ssh theSSHdude@localhost , which should hopefully rule out network issues ;-) I'll also mention that I had a weird issue with SSH where I could ssh from machine A to machine B, but not f

Re: Unable to SSH into Server

2024-10-21 Thread Arun Khan via PLUG-discuss
On Mon, Oct 21, 2024 at 7:24 PM Keith Smith via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Hi, > > I am a little stuck. > > I am trying to configure a user that will allow me to log into an Ubuntu > 24.04lts server via SSH. > > I created a line : "AllowUsers default" in /etc/ssh/sshd

Re: Unable to SSH into Server

2024-10-21 Thread der.hans via PLUG-discuss
Am 21. Oct, 2024 schwätzte Keith Smith via PLUG-discuss so: moin moin, Here are a few directions to go that might help with troubleshooting. You can use -v multiple times with the ssh client to get debug info. Going to 3, -vvv, is usually sufficient to get to the point of final rejection from t

Unable to SSH into Server

2024-10-21 Thread Keith Smith via PLUG-discuss
Hi, I am a little stuck. I am trying to configure a user that will allow me to log into an Ubuntu 24.04lts server via SSH. I created a line : "AllowUsers default" in /etc/ssh/sshd_config Then sudo systemctl restart ssh Try to login and get "client_loop: send disconnect: Broken pipe" sudo t