[07:05] <Jenshae> Hi all. I have managed to automate Ubuntu server in samba mounting Windows shares, doing rsync, backing up to encrypted, etc, etc. However, I still can't connect remotely to work via either an SSH tunnel to the Ubuntu server nor freeRDP to the Windows Terminals. This was meant to be my day off. :(
[07:05] <Jenshae> I would use a WinBlows VM but it decided to ruin my day - https://i.imgur.com/88Ujl78.png
[07:15] <Jenshae> Anyone have a good guide on how to mimic or use RDP settings to make up a connection via SSH or FreeRDP?
[07:41] <tomreyn> Jenshae: are you asking how to connect to a windows system from an ubuntu client using the SSH or RDP protocols?
[07:42] <tomreyn> posting blue screens on an ubuntu channel isnt ging to get you a lot of help ;)
[08:20] <Jenshae> tomreyn: I am trying any method to connect to either the Windows or Ubuntu server at work from my home Ubuntu machine that has a WinVM.
[08:21] <tomreyn> Jenshae: so you're trying to connect from within the windows vm running on your home ubuntu machine, or form the home ubuntu machine itself?
[08:22] <Jenshae> Ideally, I would connect from my Ubuntu PC to the Ubuntu server at work.
[08:23] <tomreyn> Jenshae: this is usually done with SSH to get access to a shell, and /or to tunnel the graphical desktop through a secure connection.
[08:25] <tomreyn> Jenshae: however, running an internet accessible service on your work computer puts the company network at some risk, and you should first of all verify what this is ok by company policies. and then verify that you'Re actually able to make this conection (i.e. there are no firewalls getting in the way).
[08:27] <tomreyn> the common way companies 'solve' this (and other) problems is by running a central VPN server, through which you can then connect to your work network from trusted remote computers.
[08:28] <Jenshae> tomreyn: Considering I am the IT manager, I am sure it is fine. :P Besides, SSH would be more secure than the non-VPN WinDohs solution that my boss bought.
[08:28] <Jenshae> I think my SSH attempts are failing because of the UTM.
[08:29] <tomreyn> that may be. i assume the UTM is managed by you / your department then?
[08:29] <Jenshae> I just don't know how to setup all the routing. E.G. would the external IP then the server I want be sufficient? Do I use the UTM as a gateway or the domain controller?
[08:29] <Jenshae> Yes.
[08:29] <Jenshae> I can add the port exception, it is closed right now because I don't need it.
[08:30] <tomreyn> i understood UTM as "unified threat management", are you referring to a specific software or hardware?
[08:30] <Jenshae> Former is correct
[08:31] <tomreyn> former is also very unspecific.
[08:32] <Jenshae> PC -> router -> webs -> routers -> UTM -> DC -> servers
[08:32] <tomreyn> your goal must be to run an openssh server on the company ubuntu server, then configure the companies routing / firewalls to allow inbound traffic on the WAN interface to the servers' LAN address, on TCP port 22
[08:32] <Jenshae> I think I just need to know what to put where in the connection string.
[08:33] <Jenshae> Back later, I better head in and get the reboots done before others arrive.
[08:33] <tomreyn> good luck
[08:33] <Jenshae> Cheers o7
[08:36] <tomreyn> on the ssh client on your ubuntu at home you'd connect to the (public) ip address of the company WAN router / firewall / UTM system. the next thing to work out then is authentication, but there are many guides online on that.
[09:32] <tobias-urdin> coreycb: a friendly reminder that neutron and it's sub-projects (like neutron-dynamic-routing) just swapped over to new os-ken (ryu fork) which requires a new package
[11:58] <kale> how do i change hostname?
[12:03] <kale> or to ask in another way. how do i get ubuntu server to release its dhcp lease when it shuts own?
[12:14] <TJ-> kale: I'm not sure systemd-networkd does preserve leases over a shutdown. It writes them to the /run/ tmpfs under /run/systemd/netif/leases/ so that doesn't persist. I think you'd need to ask in #systemd on how to enforce a release. I don't see anything in the man-page
[12:23] <coreycb> tobias-urdin: thanks. it'll probably be after the new year before that gets done. btw eventlet was updated to 0.24.1.
[12:50] <tobias-urdin> coreycb: thanks, happy holidays and new year in advance :)
[12:51] <coreycb> tobias-urdin: thanks, and likewise! enjoy your holidays.
[14:34] <bieb> I am trying to setup static IP on a fresh install of 18.04. I have edited the yaml file, and saved it, I then run "netplan --debug try" to see if there are any errors, all it says is: "error while loading /etc/netplan/01-netcfg.yaml, aborting." do I need to apply the file before debugging? I wanted to debug to make sure I entered the syntax correct, and had the right number of tabs at the beginning of the lines.
[15:16] <lordcirth> bieb, did you run netplan try as root?
[15:21] <bieb> lordcirth: yes
[15:22] <lordcirth> bieb, most likely you have a YAML syntax error
[15:36] <lordcirth> bieb, if you pastebin the config, I can take a look
[15:37] <bieb> lordcirth: thanks.. I will look at it further.. and then hit pastebin, if I dont see the error
[21:03] <Delvien> Docker kill <container id> gives me an error "unknown error after kill: runc did not terminate sucessfully: container_linux.go:393: signaling init process caused "permission denied"
[21:03] <Delvien> apparently its an ubuntu only problem?
[21:21] <Delvien> nevermind figured it out
[23:11] <keithzg[m]> Almost right on schedule, mail delivery is failing again much like yesterday, although it's actually a *different* error message this time: `(delivery temporarily suspended: conversation with <IP_ADDRESS>[<IP_ADDRESS>] timed out while receiving the initial server greeting)`
[23:15] <keithzg[m]> The amavis service claims to be running fine, but I think I'll try restarting it anyways since that seemed to clear it last time, and that would then help establish if it is indeed at least part of the problem.
[23:34] <keithzg[m]> Definitely doesn't seem to be an OOM issue killing Amavis, since the mail server was only at ~2GB used out of 16GB RAM, and 0 out of the 32GB swap.
[23:48] <JanC> not sure how your mail setup works, but temporarily suspended might refer to a service that is restarting and whatever was talking to it will retry later?
[23:49] <JanC> or maybe amavis or something else can only handle a certain number of messages in parallel
[23:50] <JanC> as long as it retries later there should be no problem
[23:50] <JanC> if it loses messages then of course there is a real issue