=== Napsterbater is now known as Guest12855 === Napsterbater_ is now known as Napsterbater [08:50] why would my system tell me it can't find the cd command when I try to use it with sudo? [08:52] Kason: `cd` is a built-in command of the shell you are using. executing `cd` as a separate command on its own does not provide any benefit for you outside of your shell's context. [08:53] sigv: ok. that's interesting. had never encountered a situation where it had come up before [08:57] I can cd in to /etc but get '-bash: cd: /etc/wireguard: Permission denied' when I try to go into one of its directories [09:01] Kason: you need to use an interactive 'sudo' session as 'root' with "sudo -i" [09:02] Kason: "sudoedit /etc/wireguard/wg-DPRK.conf" [09:11] thanks guys === denningsrogue7 is now known as denningsrogue [12:10] Hello [12:10] I am running Ubuntu 20-04 and I have enabled PasswordAuthentication no and ChallengeResponseAuthentication no and have restarted ssh as well [12:10] But still password is being asked [12:10] Password authentication is default [12:26] raddy, AuthenticationMethods publickey [12:26] (and make sure the pub key is on the server and secret key on the client indeed) [13:40] Hello [13:40] I need your help [13:41] I configured a new ubuntu 20,04 server and everything was well and fine [13:41] I rebooted it to apply update, since then ssh login is damn slow [13:44] raddy: it is probably DNS [13:47] twb: No, stuck at stuck Successfully set console input code page [13:49] raddy: SSH does not have "code pages" [13:49] Can you describe your symptoms more? [13:52] twb: key pair authentication. password login disabled, login successful, take about 10 minutes to login, [13:53] Tell us exactly and in full detail: full information about the inputs; what you typed/clicked/did; what you saw, and what you expected to see [13:53] I think, I have found the issue. [13:55] twb: Failed to retrieve unit state: Connection timed out [13:55] twb: when trying to restart sshd [13:56] So you ran "sudo systemctl restart ssh" ? [13:56] service sshd restart and I know the command is correct [13:57] What is the output of "systemctl status ssh"? [13:57] client ssh is running in -vvv for your information [13:58] all commands are slow [13:59] I think there may be a problem in loop back device or hosts file [14:00] twb: Can you give hints ? [14:00] What is the output of "systemctl status ssh"? [14:00] Failed to get properties: Connection timed out [14:00] OK [14:01] That sounds like maybe dbus is broken [14:01] Let's check for basic resource exhaustion. [14:01] What is the output of "free -h"? [14:02] Mem: 31Gi 659Mi 27Gi 1.0Mi 2.7Gi 30Gi [14:02] OK that is fine. What is the output of "df -h" [14:03] 3.5TB free [14:03] in / [14:03] *all* fliesystems are less than 80% full? [14:03] except loop back devices, yes [14:04] The loopback filesystem is a squashfs? [14:04] How to find that [14:04] "mount" (with no arguments) [14:04] tmpfs shm [14:05] If shm is 100% full your system is broken [14:06] that's is not full, [14:06] 0% [14:06] Then I do not understand you [14:06] Do you know how to use a pastebin? [14:06] Absolutely [14:07] please pastebin full output each time, then [14:07] Which command ? [14:07] All auth is slow [14:08] not commands [14:08] run "sudo -i" to become root and stay root [14:09] Yeah, I became root after quite a long time of waiting === ijohnson is now known as ijohnson|lunch [19:23] Can a NIC be setup as a trunk with no untagged traffic? I am attempting to put LXC containers on different vlans but am not sure how to to tag the default interface such that I can still ssh into the server. === ijohnson|lunch is now known as ijohnson [19:26] dwigton: just named the default interface eth0.1 and it should tag vlan1 [19:27] then don't use eth0 [19:27] replace names to whatever your nic is called [19:27] Ah, the naming scheme matters? [19:28] the dot means vlan [19:29] it's that simple [19:30] But does the first part need to be eth0? or enp0s25 in my case? [19:33] enp0s25.VLANID [19:35] Ok, thanks, I had set it up using cloud-init and it seemed like I could name them whatever I wanted since the config file defines the vlanid and parent interface. [19:41] dwigton: unless you've done some trickery with cloud-init and netplan match blocks to define special names for your interfaces, it'll be whatever they are as detected - such as `enp0s25`. If your interface is `eth0` then it's eth0, if it's enp0s25 it's enp0s25. If I have match trickery on Netplan to make my interface named 'internet' then technically it'd be 'internet' at the beginning. But that's some chaotic level stuff. [19:41] dwigton: so unless you've provided a name other than enp0s25 you need to use the interface name. [19:42] TECHNICALLY in cloud-init you can preconfigure it to be any 'name' but if the first part doesn't match an interface nothing gets configged. [20:43] On my server where i running af web app I use smtp office365 to send email from. But somehow it ends up in the receivers spam. Is there some how I can bugfind why I have set up and spf record on the mail domain but I send it from a sub domain, du I need to include the subdomain in the dns record? [20:51] or is there a better channel to get some help?? [21:06] i doubt there's a channel dedicated to the office365 smtp service or an email deliverability channel. you could reviewing microsofts' documentation on their service. [21:07] *try [21:07] unless you're running a mails erver on ubuntu and have trouble sending mail from there, it's hardly an ubuntu topic