/srv/irclogs.ubuntu.com/2019/08/04/#ubuntu-server.txt

malinabut anyway, ye looking at the update list, it seems qemu was updated not so long ago but didn't find stale/new ocnfig files which needed merging or anytbing so I don't know .00:00
compdocI think in windows the only driver I add is the mem balloon. nics are e1000, and disks are ide or sata. otherwise not stable00:00
malinareally?00:00
malinaI use virtio for the disks and am pretty sure they are way better.00:00
malinaoh wait, if you use windows as server, then00:00
compdocI found virtio nics in a business environment to be a bad choice00:01
malinahow is this on topic?00:01
compdocin the past I have searched and installed the scsi card driver that windows sees. but its a pain to track down00:02
compdocno, ubuntu server00:02
malinawell, I played a bit with iscsi on a test server but felt complexity would mean time lost thus money, in 'business environments' but ye..00:02
malinaOH i see00:02
malinayou use a windows server AND a win10 machine as guests00:03
compdocactually, ubuntu Mate thats used as servers. i like to remote desktop using x2go00:03
malinaI get you, I thought you said you ran a windows machine on a windows server.00:03
compdocno, I was talking about windows guests. and nix guests too. I avoid virtio00:03
malinaye, ok.. but I am here to find something on an issue with the vfio logic and libvirtd, not chit chat about our machines. sorry. I have no issues running passing through nvme nor runing it on virtio or the other disks, and sure, a very old sindle and/or full will suffer under virtualisation (be it virtio or elsewise), but else, I get near native performance with virtio, whic is _good enough_ for my simple worksttion windows machine.00:05
malinaanyway, if no one has had similar issues lately of vfio card not binding suddenly and/or usb passthrough being potentially an issue, I will move on.00:05
emOnehmm I disabled password authentication in SSH, but password authentication still appears when I ssh into the box01:16
tomreyndid you restart the ssh server?01:16
emOnetomreyn: no but I restarted the whole OS01:19
emOnerestarting just the ssh server doesn't help either01:20
tomreynrestarting sshd does apply configuration changes to sshd_config, yes01:21
tomreynwhat's the prompt you get when you connect?01:21
emOnepassword:01:22
tomreynand your client is?01:22
tomreynputty, i guess?01:22
emOnemac os terminal01:22
emOnebash or whatever it uses01:23
emOnetomreyn: it works fine if I connect to root@IP01:23
emOnebut if I connect to just the IP or other made up users it shows me the password prompt01:23
tomreynhow do you connect to root@IP then?01:24
emOnessh root@my.ip01:24
tomreynnot connect, authenticate, i mean01:24
emOnepublic key01:24
emOnesecured by a password01:24
tomreynokay, so there's no issue there01:24
emOnebut to be honest I never had this issue before on ubuntu 18.0201:25
emOne0401:25
emOneI think it might have something to do that I am running it through a virtual container01:25
tomreynit's normal for ssh clients to fall back to password authentication since the server wont tell the client which ones are available01:25
emOnefair enough01:26
emOnetomreyn: I don't want attackers to even try guessing passwords01:27
emOneor is that a client only thing01:28
tomreynif your server is configured not to accept password authentication then clients can try as much to do as they want but wont succeed01:28
emOneawesome :)01:29
tomreynthe server must not enable the client to guess whic authentication methods are enabled, so it keeps pretending that password authentication was available.01:30
emOnetomreyn: I think it might have something to do with the fact I am running ubuntu through a virtual proxmox container01:31
tomreynwhat is "it"?01:31
emOnethe clown01:31
emOne;)01:31
emOnepennywise01:31
emOneor, the password prompt01:32
emOneyou choose01:32
tdstomreyn: why wouldn't the server indicate which methods are available though?01:32
tdsthat's certainly the behaviour I see on my machines with password auth disabled01:33
* emOne waves at tds01:33
emOneI think "it" got him lol01:33
tdsemOne - what did you change in your sshd config exactly?01:34
emOnepasswordauthentication no01:34
emOnePermitRootLogin yes01:35
emOneUsePAM yes01:35
emOneX11Forwarding yes01:35
emOnethe last two I didn't change. They are commente out though.01:35
tdsI can't remember if those are case sensitive, but I suspect you wanted PasswordAuthentication?01:35
mybalzitchI forgot I'd turned off password based authentication entirely on my big server, until I tried to log in from my new desktop01:36
mybalzitchhad to go digging for my pubkey01:36
emOnesorry. I typed it out in IRC.. yes it is PasswordAuthentication in the config file01:36
emOnemybalzitch: that is always fun01:36
emOnetds: I just removed my ssh key01:40
emOnetds: the password prompt showed up and it let me enter my root password without the key ...01:40
emOneit let me log in01:40
emOneI think I may have put the public key in the wrong directory or something01:41
emOneI removed the ssh key from my client machine01:41
tomreyntds: hmm, yes, you're right, the server actually does tell the client which authentication methods are supported. sorry, i got this wrong.01:47
tomreynemOne: ^01:49
emOnetomreyn: yes something else is wrong01:53
emOnefirstly and strangely the folder ~/.ssh didn't exist on the ubuntu OS01:53
emOneI created it myself01:53
emOnealso I found out that if I remove my key pair from my local/laptop machine , I am still prompted with a password box01:54
emOnewhen I type my root password in, it just lets me log on01:54
emOneso something is obviously not ight01:54
emOneI fixed the issue... there was a mistake in sshd config02:18
lotuspsychje!netplan08:45
ubottuNetplan is a network configuration abstraction renderer which uses YAML descriptions of a network to work with either a NetworkManager or Systemd-networkd "renderer". More information at https://netplan.io/08:45
circ-user-dFjbyhttps://paste.ubuntu.com/p/ky3NHkkQFR/08:45
circ-user-dFjbyNeed a bit of help with netplan,08:45
circ-user-dFjbyI am wanting to configure a bridge0 and eth0 (enp2s0) to get a DHCP address from the router.08:46
circ-user-dFjbythe br0 is going to be used for libvirt.08:46
circ-user-dFjbyBut eh, I want the enp2s0 to have it's normal eth0 address based on it's mac, as it used to be with the old /etc/network/interfaces configuration I had on the older version of the server.08:47
lotuspsychjecirc-user-dFjby: im not the netplan expert myself, but i think you need to add your routes in the yaml file08:53
circ-user-dFjbyHi, I am trying to achieve something else.09:02
circ-user-dFjbyI want the br0 to be 10.15.1.100 (static) and the libvirt to get a DHCP address from the router.09:02
circ-user-dFjbyso any interface screated by the libvirt.09:02
TJ-circ-user-dFjby: your requirement doesn't make sense09:10
TJ-circ-user-dFjby: you want enp2s0 to be a slave port of br0 ? but you also want it to have its own IP address and therefore be routable ?09:11
=== Wryhder is now known as Lucas_Gray
=== Wryhder is now known as Lucas_Gray
GreyztarTJ-: evening, i went to broadcom and downloaded latest 3dm2 cli/tw-cli still no serial,however i totally forgot to i could use the -d switch with smartctl as tds mentioned earlier (was a little late for me so head wasent working properly) with 3ware,x /dev/twx to also query for info not only do smart test and that got me the serial number hooray! Thanks for help tds also (,")12:48
TJ-Greyztar: good to hear you found it!12:50
Greyztardid find it little bit odd though that lsi own software couldnt display it,but then again smartmontools is some awesome piece of software hehe12:50
tdsGreyztar: ah, that's good to hear! and that sounds about right for raid controller software ;)13:14
weedmici'm trying to limit java's time with the cpu, I did "nice -10 java" and "nice -10 /usr/bin/java" both just bring up a parms list.  what am i doing wrong?14:09
weedmicnvm i c from htop that the troublemakers are already set to 2014:12
Rojola1hi15:10
Rojola1according to the manpages, and also according to many tutorials out there, the .local files should override the .config  files15:10
Rojola1^ I'm talking about "fail2ban"15:10
Rojola1but fail2ban ignores the .local file15:11
Rojola1it takes all the config from:15:11
Rojola1/etc/fail2ban/jail.conf15:11
Rojola1/etc/fail2ban/jail.local  is being ignored15:11
=== bracham_ is now known as bracham

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!