I'm not sure you're understanding what I meant when I said "key-authentication" .... You've mentioned a few times in response to that, that you're on a local network. I'm referring to SSH Keys, so you can quickly authenticate to any of your VMs without a password. Let me know if you have any questions. --- Thanks, Alexander Sent from my Google Pixel 7 Pro On Sun, Dec 1, 2024, 07:01 wrote: > > Since this is only local to my private network, I am going to start > over. I am using virtual box and every time I upgrade I clone the last > successful configuration. So in the case of a failed issue I can start > over by deleting the current VM and clone the last successful VM and > start over. > > I'm also going to uninstall VSC since it has configurations going back > several years. I have high hopes for VSC.... > > As for using key-authentication this is all local on a private network > and my domains are all non-routable .internal. > > I use the hosts files for DNS. > > Wish me luck!! I may return. > > > > > On 2024-11-30 15:49, Keith Smith via PLUG-discuss wrote: > > Hi Alexander!! > > > > Thank you for your feedback. > > > > > > On 2024-11-30 15:21, Snyder, Alexander J wrote: > >> I use Visual Studio Code a ton. Whenever I've had an issue with SSH on > >> code it's usually due to an issue in the SSHD Config. > >> > >> Check the "output" tab in VSC, as it'll have helpful output there. > >> Typically, in the SSHD Config file you'll need: > >> > >> AllowAgentForwarding yes > >> AllowTcpForwarding yes > >> TCPKeepAlive yes > >> > > > > I'll check into this. > > > > > > > >> I would also *HIGHLY* suggest using key-authentication, just in > >> general -- but most especially when using VSC with Remote SSH. > >> > > > > This is only local so I like to keep things simple. > > > > > >> --- > >> Thanks, > >> Alexander > >> > >> Sent from my Google Pixel 7 Pro > >> > >> On Sat, Nov 30, 2024, 14:51 Keith Smith via PLUG-discuss > >> wrote: > >> > >>> Hi, > >>> > >>> I am having difficulty connecting remote using Visual Studio Code. > >>> > >>> Desktop is running Kubuntu 24.04lts > >>> > >>> Remote is a laptop running Win10 with VirtualBox installed and > >>> multiple > >>> Ubuntu 24.04lts LAMP servers configured. Only one is running. > >>> > >>> I have 3 users > >>> > >>> 1) is the user installed during the Linux install. It has Sudo > >>> privileges. > >>> 2) A user that has SSH access that I can SSH into via the konsole on > >>> > >>> Kubuntu. This is going to be a PHP-FPM virtual host owner. > >>> 3) A user that has SSH access that I can SSH into via the konsole on > >>> > >>> Kubuntu. This is going to be a PHP-FPM virtual host owner. > >>> > >>> I can SSH into the box remotely using SSH via the konsole on > >>> Kubuntu. > >>> > >>> Users number 2 and three do not have sudo. > >>> > >>> I can access the virtual hosts via FileZilla using user 2 and 3. > >>> > >>> I can remote (VSC) into the VM using my sudo user that does not own > >>> any > >>> vhosts. > >>> > >>> I will be installing and configuring PHP-FPM so my virtual hosts > >>> will be > >>> owned by a SSH user so I can do programming in real time / remote. > >>> > >>> AI gave me a list of things to do and test which I did, such as > >>> > >>> - Set /etc/ssh/sshd_config to PasswordAuthentication yes. Local and > >>> remote are set to PasswordAuthentication yes > >>> > >>> - sudo tail -f /var/log/syslog - nothing looks like it has anything > >>> to > >>> do with VSC. > >>> > >>> - ssh -vvv lamp@ip-address > >>> > >>> which returns a bunch of stuff and then asks me for the password for > >>> > >>> lamp@ip-address then connects the konsole w/o an issue: > >>> > >>> debug3: kex_input_ext_info: extension > >>> publickey-hostbound@openssh.com > >>> debug1: kex_ext_info_check_ver: publickey-hostbound@openssh.com=<0> > >>> debug3: kex_input_ext_info: extension ping@openssh.com > >>> debug1: kex_ext_info_check_ver: ping@openssh.com=<0> > >>> debug3: receive packet: type 6 > >>> debug2: service_accept: ssh-userauth > >>> debug1: SSH2_MSG_SERVICE_ACCEPT received > >>> debug3: send packet: type 50 > >>> debug3: receive packet: type 7 > >>> debug1: SSH2_MSG_EXT_INFO received > >>> debug3: kex_input_ext_info: extension server-sig-algs > >>> debug1: kex_ext_info_client_parse: > >>> > >> > server-sig-algs= sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com > ,rsa-sha2-512,rsa-sha2-256> > >>> debug3: receive packet: type 51 > >>> debug1: Authentications that can continue: publickey,password > >>> debug3: start over, passed a different list publickey,password > >>> debug3: preferred > >>> gssapi-with-mic,publickey,keyboard-interactive,password > >>> debug3: authmethod_lookup publickey > >>> debug3: remaining preferred: keyboard-interactive,password > >>> debug3: authmethod_is_enabled publickey > >>> debug1: Next authentication method: publickey > >>> debug3: ssh_get_authentication_socket_path: path > >>> '/tmp/ssh-2bwrFHjD6Cmc/agent.1207' > >>> debug1: get_agent_identities: bound agent to hostkey > >>> debug1: get_agent_identities: ssh_fetch_identitylist: agent contains > >>> no > >>> identities > >>> debug1: Will attempt key: /home/keith/.ssh/id_rsa > >>> debug1: Will attempt key: /home/keith/.ssh/id_ecdsa > >>> debug1: Will attempt key: /home/keith/.ssh/id_ecdsa_sk > >>> debug1: Will attempt key: /home/keith/.ssh/id_ed25519 > >>> debug1: Will attempt key: /home/keith/.ssh/id_ed25519_sk > >>> debug1: Will attempt key: /home/keith/.ssh/id_xmss > >>> debug1: Will attempt key: /home/keith/.ssh/id_dsa > >>> debug2: pubkey_prepare: done > >>> debug1: Trying private key: /home/keith/.ssh/id_rsa > >>> debug3: no such identity: /home/keith/.ssh/id_rsa: No such file or > >>> directory > >>> debug1: Trying private key: /home/keith/.ssh/id_ecdsa > >>> debug3: no such identity: /home/keith/.ssh/id_ecdsa: No such file or > >>> > >>> directory > >>> debug1: Trying private key: /home/keith/.ssh/id_ecdsa_sk > >>> debug3: no such identity: /home/keith/.ssh/id_ecdsa_sk: No such file > >>> or > >>> directory > >>> debug1: Trying private key: /home/keith/.ssh/id_ed25519 > >>> debug3: no such identity: /home/keith/.ssh/id_ed25519: No such file > >>> or > >>> directory > >>> debug1: Trying private key: /home/keith/.ssh/id_ed25519_sk > >>> debug3: no such identity: /home/keith/.ssh/id_ed25519_sk: No such > >>> file > >>> or directory > >>> debug1: Trying private key: /home/keith/.ssh/id_xmss > >>> debug3: no such identity: /home/keith/.ssh/id_xmss: No such file or > >>> directory > >>> debug1: Trying private key: /home/keith/.ssh/id_dsa > >>> debug3: no such identity: /home/keith/.ssh/id_dsa: No such file or > >>> directory > >>> debug2: we did not send a packet, disable method > >>> debug3: authmethod_lookup password > >>> debug3: remaining preferred: ,password > >>> debug3: authmethod_is_enabled password > >>> debug1: Next authentication method: password > >>> > >>> - - - - - > >>> > >>> Any Thoughts Much Appreciated!! > >>> > >>> Keith > >>> > >>> --------------------------------------------------- > >>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org > >>> To subscribe, unsubscribe, or to change your mail settings: > >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > --------------------------------------------------- > > PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org > > To subscribe, unsubscribe, or to change your mail settings: > > https://lists.phxlinux.org/mailman/listinfo/plug-discuss >