I recently downloaded and managed to start an OrientDB server/database on an AWS EC2 Linux 14.04 (I think the name is) server for an application I want to set up. I started OrientDB “as usual” by running ./server.sh in the terminal via SSH link to the EC2 server. All works fine and I can query the database while at the
Tag: ssh
Can I use ssh to login another host and automatically “su” to another user? [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 ssh another VM without password [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 Nvim-R via PuTTy: setting up r_term_cdm
I would like to run Nvim-R on a remote machine via putty when I try to open a *.R file the remote machine returns an error message: Please set the variable g:R_term_cmd in your vimrc. Read the plugin documentation … According to the documentation, the R_term_cmd should be used in the following manner: If |R_in_buffer| = 0 and the X
bash command redirection in expect script failing with permission denied (spawn ssh user@host command > outfile)
I have this expect script that is supposed to read a gpg encrypted password, and use it to call a remote script via ssh (there are many reasons why I need to do it like that). Now, my problem is that whenever I run this script, the ssh connection is correctly set up, but it fails in writing the output
Redirect the password prompt alert
Is it possible to redirect password prompt alert to a file or silence it? [lnx51 ~]$ ssh root@192.168.1.1 root@192.168.1.1’s password: Answer To avoid password authentication you can use next sentence: This disable ‘manual’ authentication but you need another method to login, if not you will get an error like that: Maybe you have some issue with your id_rsa If you
.bashrc file preventing some SFTP GUI APP from logging to the VM
I have a .bashrc file running on my Ubuntu server I can log-in to my VM perfectly fine via SSH. I am not sure why in some SFTP client (GUI Apps) like Cyberduck preventing me from log-in into my VM. But when remove my .bashrc or deactivating it, it works fine. Questions Is there a main reason behind this ?
How to connect raspberry pi to internet? [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
Serial Numbers from a Storage Controller over SSH
Background I’m working on a bash script to pull serial numbers and part numbers from all the devices in a server rack, my goal is to be able to run a single script (inventory.sh) and walk away while it generates text files containing the information I need. I’m using bash for maximum compatibility, the RHEL 6.7 systems do have Perl
How to exit from shell script if any of the command in SSH returns non-zero value
I have a shell script with below ssh command to perform few actions, Directory $remoteLocation/yyy is not available and it will display the error as, ./test.sh: line 6: cd: /opt/test/yyy: No such file or directory and it is proceeding to the next line. My scenario is to exit from the shell script itself if any command in ssh returns non-zero