Skip to content
Advertisement

Tag: ssh

Login to Amazon EC2 via ssh

I have a question and am stuck at something. I recently created AWS EC2 Ubuntu instance with default settings. I have an Ubuntu machine locally as well and so far I managed to connect successfully to the Ubuntu instace with this command However I want to know if there is a simpler way to login to ssh without passing the

ssh does not return even after execution

The following ssh command does not return to terminal. It hangs though the execution is completed. The execution hangs after echo hi command. Output ciInstallAndRun.sh Source OS: Redhat Dest Os: Solaris 10 8/07 Any idea to fix this. Answer Any idea to fix this. Your installation script has spawned a child process. Add a ps -f or ptree $$ command

On sshd server how can I see what connection what cipher is using?

I’m administrating a ssh server, serving multiple users. Some asked to be available to use a cipher “arcfour”, so I enabled it. But I am now trying to actually see which connection and user is using it. Is there a way to list the connections with the information about the cipher used in each connection? Thanks Answer You need to

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:

Attach to a GNU screen and then execute commands

I have seen some similar questions asked but the solutions don’t seem to work in my case. I am trying to SSH into a specific screen instance on a Node machine and then execute some commands My current process is this: On the remote machine I create a screen instance: screen -dmS “my_screen” From my local machine I do something

Need to automate SSH commands to router

I need to find a way to automate ssh commands to my router. My goal is to make the router restart whenever I run the script from my Java program. I’m having some issues though. First of all, this is the sequence of output I get from my router’s ssh: First I do: which returns: I enter the password, “admin”.

linux – created duplicate root user, cant login anymore.. what do i do? [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

SSH connect to remote on local network [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Closed 6 years ago. 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

ssh + ssh is stuck on remote machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 6 years ago. Improve this question simple script in order to perform reboot on Linux machine after running this script couple of times , some times the

Advertisement