#StackBounty: #python-2.7 #docker #tensorflow #ssh #nvidia GAN Training with Tensorflow 1.4 inside Docker Stops without Prompting and w…

Bounty: 50

Project Detail

I am running open source code of A GAN based Research Paper named “Investigating Generative Adversarial Networks based Speech Dereverberation for Robust Speech Recognition”
source code: here
The dependencies include:

  • Python 2.7
  • TensorFlow 1.4.0

I pulled a Docker Image of TensorFlow 1.4.0 with python 2.7 on my GPU Virtual Machine Connected with ssh connection with this command :

docker pull tensorflow/tensorflow:1.4.0-gpu

I am running

bash rsrgan/run_gan_rnn_placeholder.sh

according to readme of source code

Issue’s Detail

Everything is working, Model is Training and loss is decreasing, But there is only one issue that After some iterations terminal shows no output, GPU still shows PID but no Memory freed and sometime GPU-Utils becomes 0%. Training on VM’s GPU and CPU are same case.
It is not a memory issue Because GPU Memory usage by model is 5400MB out of 11,000MB and RAM for CPU is also very Big

nvidia-smi Output

When I ran 21 Iteration on my local Computer each iteration with 0.09 hours with 1st Gen i5 and 4GB RAM all iterations executed. But whenever I run it with ssh inside docker issue happens again and again with both GPU and CPU.
Just keep in mind the issue is happening inside docker with computer connected with ssh and ssh is also not disconnect very often.

exact Numbers

If an iteration take 1.5 hour then issue happens after two to three iterations and if single iteration take 0.06 hours then issue happens exactly after 14 iteration out of 25


Get this bounty!!!

#StackBounty: #ssh #xorg How to use the local display, remotely

Bounty: 100

I’ve got a work Linux I can login to remotely via ssh and ssh -Y.

One application I’d like to use uses GLFW. Before the pandemic, I could work remotely just fine as there was a user logged in locally (me).

Now, I needed to reboot the machine and although I can ssh in, no user ever logged in since reboot. As such, my application won’t start. I get:

Cannot initialize GLFW library

as the application tries to open a display. (I don’t care about this display, the app produces output files I can access remotely)

I tried exporting the display with export DISPLAY=[my ip address]:0 and got xterm to work. But this is of no use, because my app requires something OpenGL:

what():  GLFW error: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable

So, what I’m asking:

Over ssh (-Y), how can I login a user as if it was sitting in front of the machine ? I assume there’s some part of X startup that is missing.

In case this is useful:

4.15.0-91-generic #92~16.04.1-Ubuntu SMP Fri Feb 28 14:57:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


Get this bounty!!!

#StackBounty: #networking #ssh #linux-networking #hacking Compromised Ubiquity ERLite 3?

Bounty: 50

I’m not a network administrator just trying to help a friend who’s been having issues lately with his PPTP VPN.

At first glance I noticed a very high CPU usage as well as constantly >50Mbps of RX/TX

enter image description here

After that, I went to analyse one of those commands

enter image description here

I can telnet to those ports so they are clearly open and receiving.

What else should I try to analyse what it is going on? Any ideas?


Get this bounty!!!

#StackBounty: #linux #ssh #localization POSIX locale when I use SSH with a command line

Bounty: 50

When I SSH into an Arch Linux server and include a command line, I end up with a POSIX locale:

laptop.lan$ ssh server.lan locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
laptop.lan$

As far as I can tell, locale is set up correctly on the server. /etc/locale.conf looks like this:

LANG=en_US.UTF-8

And, when I SSH in normally, my locale is fine:

laptop.lan$ ssh server.lan
server.lan$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
server.lan$

What’s going on here, and how can I make one-shot commands use my preferred locale, too?


Get this bounty!!!

#StackBounty: #ssh #nautilus #two-factor-authentication Graphical file manager with support for SSH'ing into duo 2FA protected serv…

Bounty: 50

I used to be able to use nautilus and go to the location bar and “ssh://blah@blahserver.com” into a remote server and do things like drag and drop files. However, that remote server added two-factor authentication with duo (e.g. if I ssh in a terminal, after giving my correct password I now have to do a duo 2FA.

Duo two-factor login for nouyang

Enter a passcode or select one of the following options:

 1. Duo Push to XXX-XXX-1234
 2. Phone call to XXX-XXX-1234

If I try to use ssh in nautilus, it just asks me for my password three times and then fails (or spins for a while and says "oops! unhandled error message: timed out when logging in").

I would really like a graphical interface, since the alternative is scp but now each time I use scp I also have to go through this process. Is there any way to do so?

GNOME nautilus 3.26.4


Get this bounty!!!

#StackBounty: #networking #18.04 #ssh #samba Slow Samba write speeds, but SSH, FTP is fast

Bounty: 50

I’ve encountered a recent problem with my Samba server (18.04). I have gigabit networking on both ends, but I seem to only get write speeds of about 2MB/s. However, using SSH or FTP, I can transfer files at around 30MB/s which is about what I can expect from my hard drives, so I’m pretty sure the problem is isolated to Samba. Read speeds are about what should be expected. I’ve only noticed this issue recently with 18.04, after I switched from 16.04. I’ve tried tweaking MTU’s, buffers, cache and other things to no avail. I’ve put a fresh install of 18.04 server on another machine and used samba just to see if a fresh install would help, but the issue seems universal to all my machines running 18.04. Any help would be greatly appreciated. My samba conf right now is just the default.


Get this bounty!!!

#StackBounty: #ssh #nat #ssh-tunnel #reverse-proxy #socks-proxy Local computer and remote computer are behind NAT. How to make local ne…

Bounty: 150

I have a

  • Local computer (behind NAT).
  • An intermediate server which is publicly accessible and has a
    fixed IP address.
  • Remote computer (behind NAT and not the same as local computer).

I’d like to temporarily share access to a website on the local network via the local computer and an intermediate server using SOCKS/SSH, so that a remote computer can view it. Is this possible when both the remote computer and the local computer are behind NAT? If yes, how?

                      NAT       -   Static Public IP  - NAT
Local Network <- Local Computer - Intermediate Server - Remote Computer 

I know I can do this with ngrok and similar services, but I would like to learn how to do it myself using SSH and SOCKS.

Bounty: I will give preference to answers with example code and explanations on how to do it. Thank you.


Get this bounty!!!

#StackBounty: #networking #ssh #kvm #vnc #spice Can I use SPICE as a VNC replacement for fast local 5ghz remote desktop?

Bounty: 50

I know spice is used by virt-manager to control virtual machines. Can I use SPICE to do the same thing but over a fast 5ghz local network? I want to control the machine on the other room but I need it to be really fast, so VNC is out of question.

Reading the spice downloads page there are lots of servers and clients, I’m lost. How can I make SPICE work like VNC? Can I also plug USB things in one computer and use them in another?

How can I remote control my hardware Ubuntu desktop with spice, instead of vnc? has no answers


Get this bounty!!!

#StackBounty: #18.04 #ssh #gnupg Replacing ssh-agent for gpg-agent

Bounty: 50

I was trying to use gpg-agent as a “drop-in replacement” of ssh-agent.

My understanding was that I needed to:

  • add enable-ssh-support to ~/.gnupg/gpg-agent.conf
  • comment use-ssh-agent from /etc/X11/Xsession.options

But I rebooted the system and it doesn’t seem as if it was working:

$ echo $SSH_AUTH_SOCK
/run/user/1000/keyring/ssh

The gpg works as expected –if I manually export the correct SSH_AUTH_SOCK, then everything works correctly.

Am I missing some step? I know I could workaround a lot of things to force it, but I was trying to find the minimal configuration required.


Get this bounty!!!