The follow command works in a local terminal: But this command doesn’t work remotely: …even though script.py on remote belongs to john, the user we are ssh as. I can ping successfully and other commands are successful. Answer You need to escape the pipes to cause them to be passed to the ssh command rather than being executed by your
Tag: remote-access
psql – Mac trying to connect postgreSQL in Ubuntu system installed in a virtual machine in remote server
Apologize in front, maybe the situation here is a bit complicated. I searched everywhere online but couldn’t find a perfect solution, plus I have tried almost all the solutions mentioned in other posts. Situation: So I have a postgreSQL database installed in a Ubuntu system. The system is actually a virtual machine on the VMware workstation 12, which is installed
open file from remote host with Kate
Is it possible to open a file from a remote host with Kate like you can with vim: vim scp://root@cc3//var/log/dp.log? I’ve tried the following but neither option seems to work: kate scp://root@cc3//var/log/dp.log & and kate fish://root@cc3//var/log/dp.log & Answer By design, Kate interacts with user by dialogs, while you can also start editing a file in kate from command line with:
Running qt creator via remote desktop
We are developing a software using QT creator. The software is meant to run on windows and on an ARM mini-computer running Debian. To test the software on the mini-computer, we logged in on the mini computer using ssh and an exported display. Some programs like Inkscape run fine, but we can’t get to run QT Creator. It always displays
linux connect to remote sybase and backup/dump
I am on a CentOS machine and connected to a remote Sybase service through freetds/isql. I have no problem connecting to the remote database through isql. I’d like to dump the database to my localhost (my CentOS machine). From the isql prompt, I cannot do this with the ‘backup database’ command; I think it tries to back up to the
Issue in running sudo commands remotely from a c# application.
I am writing an utility in c# to get system information of remote machines. In certain Linux machines direct login to root is not allowed and some of the commands i am running require root privileges. I am able to establish SSH session (I am using Renci SSh libraries for same). Researching leads me to believe in such cases I
How to copy files and folders from one remote server to another remote server using scp command? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Running a script remotely on a Linux machine with screen and nohup is killed shortly after logout [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
How to use Maven in a remote Linux server?
I have an extracted file of maven in my remote. I am trying to add the environment variables using these commands: When I execute mvn -version, I get this particular error : How do I run my Maven commands on Putty which I am using to access my remote Linux server? Answer Your user (z222189) doesn’t have execute permission on
process a file remotely using ssh
I have this report.tex file which I convert to pdf as follows: These commands are placed in a file called linux_build This works great. However, this works on my Linux machine and most of my work I do on my Mac I checked out MacTex which is enormous (> 4GB) so I decided to process the latex file remotely (so