All Questions
62
questions
0
votes
0
answers
23
views
How can I automate the connection to an On Prem Windows VM that uses Azure AAD for authentication?
My requirement is to automate the transfer of files, and running commands on the Windows VM, which is currently a manual process where I log in to the VM via RDP (and it prompts me for my username/...
0
votes
1
answer
159
views
Script to automate mfa when using scp (otp then key) currently using python open to other suggestions
I can't seem to find any information on how to automate both otp and key login with a script on the client side. My server is set up to require otp then require key. Both client and server are running ...
0
votes
1
answer
463
views
[screen is terminating], can`t create screen running python script
I was working with my python script for a telegram bot on SSH server. I had multiple screens working together in the background. Then I quitted one of the screens with screen -X -S screenname quit. ...
0
votes
0
answers
963
views
Using rsync and ssh inside python script to specific folder
I am attempting to make a copy of the /home folder on a remote Raspberry Pi (pitwo) to a local Raspberry Pi (pizero) via rsync and ssh. The local Pi has a hard drive connected that is shared using ...
2
votes
1
answer
2k
views
SSH connection through Python cannot run Shell scripts
I have a Shell script on a Linux machine that I have to execute. The only connection I am able to do is over SSH but it won't run the script.
So I have an application that actually has to do this so ...
1
vote
1
answer
381
views
How to properly make a SSH-call LOCALLY async/background/independent/...?
Use-case
I have a backup software able to read data to be backed up from named pipes. I want to use that feature to backup database dumps of e.g. MySQL and PostgreSQL which are hosted within multiple ...
2
votes
1
answer
14k
views
Executing a python script via SSH on remote and scp on localhost
I am new to this and need some advice on resolving my problem.
I have a python script on a remote server. I want to execute that script from my local system and then transfer the result file generated ...
0
votes
1
answer
273
views
Make write to sshfs atomic
I'm using sshfs to run some process on one mashine and store the result on another one.
The command I'm using to mount is sshfs user@host:/rempte/path /local/path.
The scrip I'm running creates a file ...
-1
votes
1
answer
495
views
No data when using PuTTY SSH Tunneling
I am trying out SSH tunneling using PuTTY. On my Windows computer, I have PuTTY running with a tunnel going from port 1556 to remoteipaddress:1556. On the remote server, I have a Python3 socket server ...
0
votes
0
answers
88
views
Code Indentations in Cmder
I commonly use Cmder to ssh into Linux boxes where I run Python scripts regularly. Unfortunately, when I copy and paste indented code, the paste action seems to interpret my spaces incorrectly. for ...
1
vote
2
answers
538
views
Setting up machine learning workstation as server for multiple users
Company purchased machine learning workstation and put me in charge of running and maintaining it.
Goal: Develop our own ML applications, and also allow our global offices to connect to the ...
4
votes
5
answers
1k
views
Sharing my computer with someone to run heavy CPU/GPU compute while I continue to use it
I'd like to give access to my powerful Windows 10 Pro machine to someone from the outside (who I trust completely) to run Python/PyTorch programs, using the GPU for compute.
The key is that I'd like ...
1
vote
0
answers
2k
views
Screen session dies randomly and how can I diagnose the reason?
I'm using a Python script with screen session but it dies randomly and I checked syslog files for an error (which mentioned on Screen and SSH Tunnel - How can screen session possibly die?) but couldn'...
0
votes
1
answer
18
views
Storing an Externally Generated Private Key on EC2 Linux
We have been given the public & private keys to connect to an external (outside our firewall) WSFTP site. We need to use this/these keys to connect this vendor's WSFTP and pull the data into our ...
0
votes
1
answer
1k
views
ssh executing a bash script, python curses, setupterm: could not find terminal
I am developing a python application for a remote system which has a device connected via a serial port.
At the moment my workflow looks like this
write code locally
commit to git
git push
change to ...