Most voted "ssh" questions
Computer program and a network protocol that allow connection to another computer on the network in order to allow the execution of commands from a Remote Unit.
Learn more…91 questions
Sort by count of
-
8
votes3
answers200
viewsSpeed difference between Plink and Openssh
I have a setup with some Mercurial repositories. For security and standardization reasons, https access to Mercurial repositories was recently disabled, which forced all developers to use ssh. In…
-
7
votes3
answers6510
viewsHow to access a server via SSH without using password?
I have to connect a Linux server via SSH, using Putty as a client, many times a day and every time I need to put user and password. I have seen a person performing connection without using user and…
-
7
votes4
answers59952
viewsCopy files via SSH between two remote servers
How to copy files from Servier1 to servor2 via SSH with only one command line, and I am not logged in to any of them? I’m on a third machine. And I have the credentials of both.
-
6
votes1
answer667
viewsWhat is SSH and what are its advantages over HTTPS?
Some services offer client-server connection through SSH (Secure Shell). What is this SSH? One case is Github, which recommends SSH even though it already offers HTTPS, but HTTPS seems much easier…
-
6
votes1
answer691
viewsGIT error sending project to Ionic Pro: fatal: sha1 file '<stdout>' write error: Broken pipe
I signed Ionic Pro and I’m trying to send my local project to their Cloud. I use the command: git push ionic master It starts all right but makes the mistakes to follow: git push ionic master Enter…
-
4
votes4
answers1075
views -
4
votes1
answer1320
viewsHow to Create a New Account (Domain) via SSH?
A while ago I asked a question - already solved - regarding how to do an automatic update remotely using PHP (See here) Now I would like to create via SSH a new account on the server in order to…
-
4
votes1
answer82
views"stdin is not a terminal" when I run Envoy - Laravel 4.2
A month ago everything is working fine, until I went to deploy a project and... When you execute the command envoy run deploy, using the settings below... @servers([ 'mt' => '[email protected]'…
-
4
votes2
answers472
viewslinux command - lock folder name/rename
need to give access to an ftp user in the /var/www folder but there are folders there that it cannot access/edit/delete tried a command: #chmod 000 <pasta> almost worked, it does not delete,…
-
4
votes1
answer180
viewsView all PHP scripts running via SSH in real time
I have some scripts that do a data Mining job, and in some cases need to run long processes that can consume a lot of CPU. I need to find a command via SSH to monitor all running PHP scripts.…
-
4
votes2
answers245
viewsI can’t push in GIT repose
I have a GIT repository on an SSH server and when trying to push, the following happens: Counting objects: 16, done. Delta compression using up to 8 threads. Compressing objects: 100% (14/14), done.…
-
3
votes2
answers258
viewsQuestions about Vagrant
I’m learning to work with the Vagrant, I have already created the VirtualMachine, made the provisionings, the project worked perfectly. But when I walk in I see ssh in VirtualMachine to run a script…
-
3
votes2
answers351
viewsHow to find the installation location of a package via SSH?
I installed a package as in the example below: $ apt-get install nome-pacote But I can’t find which directory it was installed in. Is there a command to find out where the package is? Remembering…
-
3
votes2
answers2187
viewsCopy directory from one ssh server to another
I need to copy a directory on a server with a script .sh running on another server. I read about the command scp and saw some examples of use, but did not figure out how I put the password of the…
-
3
votes1
answer163
viewserror in cloning bitbucket repository by ssh
I followed the steps of that website in order to access Bitbucket via SSH on Ubuntu. However when I finished and tried to clone a repository the terminal printed this error: Warning: Permanently…
-
3
votes2
answers868
viewsWhat is Port Knocking?
I understand it’s about sending a sequence of requests to a server to unlock a port. It would then be possible through a browser to activate the port for ssh, for example: Access servidor.com:80…
-
2
votes1
answer146
viewsError Expected SSH_FXP_VERSION when connecting via php with phpseclib
When connecting on some equipment I’m getting this message: Expected SSH_FXP_VERSION and command not executed. I’m using php with phpseclib.…
-
2
votes1
answer2382
viewsRemove old key from known_hosts (Warning: Possible DNS Spoofing Detected)
When accessing via Linux/Macos command line, an error like the following may appear @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @…
sshasked 10 years, 9 months ago Emerson Rocha 3,710 -
2
votes1
answer73
viewsProblems with SSH when running Hadoop tutorial
I need to process some very large files and for that I am trying to use Hadoop (in version 2.4.1). I am unable to run the official tutorial on Ubuntu 14.04 (64 bits) and Java (Oracle version…
-
2
votes1
answer95
viewsProblems with SSH: IP being banned after x consecutive successful logins
I’m having a little problem with the SSH of one of the company’s servers. The problem is that I am using a monitoring software called Nagios, and as the use of some other way of checking, such as…
-
2
votes2
answers2031
viewsHow can I compact directory except specific folder?
Need with SSH to compact a directory except a specific folder within that directory. briefcase: /public_html except for: /public_html/wp-content/uploads/Vista/ How can I perform this operation? I…
sshasked 9 years, 9 months ago Marcos Vinicius 7,188 -
2
votes0
answers66
viewsSSH problem on Windows Server 2003
I have a file server and it needs to be accessed from outside my network via SFTP using SSH. The server runs Windows Server 2003 R2 and I installed openssh as an SSH server, and I’ve already set up…
-
2
votes1
answer2586
viewsVagrant problem: timeout when connecting by SSH
I’m trying to climb up to my box in Vagrant. When I give one vagrant up it performs everything correctly, but when connecting with ssh, keeps giving timeout. Follow the stacktrace in the powershell:…
-
2
votes0
answers254
views -
2
votes1
answer67
viewsIn R, use fread in a Shh connection with pipe
I have a virtual machine with many TXT files. I usually use an ssh and pipe connection to read the files. When I use the read.csv function there is no problem at the time of reading the files.…
-
2
votes2
answers99
viewsMysql Workbench tcp/ip over ssh Vagrant
Guys I am trying to create a java environment in Vagrant, I installed mysql and I am not able to connect to my vm mysql by my Workbench on the host. This key that I am using is exactly the same one…
-
2
votes1
answer117
viewsHow do I synchronize git folders to allow me to use R files simultaneously on multiple stations?
I did an account in Git, and it’s supposed to allow me to use R files simultaneously on multiple stations. But I have fought hard to succeed in the SSH key that the platform asks for. And now I…
-
2
votes4
answers7933
viewsHow to upgrade Node.js from version 8 to 10 on Linux Ubuntu, via SSH?
I tried several tutorials on the internet before coming to post the doubt here on Stackoverflow and no tips worked. My repository is with version 8 of Node and the same, even removing, back. I need…
-
2
votes1
answer102
viewsFind via SSH on multiple servers
One of my activities in the company I work with is to check Jvms log when we have errors in the application. The way this check is done is through SSH (we have a "tunnel" configured through VPN…
-
2
votes1
answer100
viewsRun PHP in an orderly fashion
I have a file .php where I connect via SSH to a server, and execute commands through it. My file is basically this: $conexao(servidor,usuario,senha,PORTA); $ssh->exec('COMANDO 1'); echo'SUCESSO…
-
2
votes1
answer373
viewsConnect to a host via SSH and go to another with ssh - Python tunnel
The code below (main.py) provides access to a host through SSH and creates a tunnel for the IP to be accessed by 127.0.0.1: import paramiko from sshtunnel import SSHTunnelForwarder from paramiko…
-
2
votes0
answers16
viewsParamiko does not keep my process running in the background (python)
I have tried an automation where at the end of a looping routine access a server via SSH and open a new process. But in the last part I can’t get the process started, follow the code: from paramiko…
-
1
votes2
answers1118
viewsHow to reuse and share an SSH private key between Mac OS X and Linux?
I realized that the Mackup is able to back up the private key in Dropbox. I tried to copy my old private key from a Time Machine backup (I did a clean install of Mavericks), which was without…
-
1
votes1
answer271
viewsSend files via rsync setting user and group
I have the following script that sends files from a local folder to a remote server: rsync -Crav --exclude 'storage' --exclude 'error_log' --exclude 'database.php' --progress --partial --rsh='ssh…
-
1
votes1
answer40
views./install_bam.sh and i get an error stating "cannot execute Binary file
I am trying to install software. When I try to run chmod + x . /install_bam.sh command to get permission to run . /install_bam.sh I get an error saying "cannot execute Binary file". The file…
-
1
votes1
answer40
viewsOpencart Should I ignore the checked.cache file in GIT?
am having a little stress with the opencart checked.cache file that every update asks to do an add/commit/push and every time this has to be done I have headaches with conflicts and etc. I must add…
-
1
votes1
answer127
viewslinux SSH command
Good afternoon, I am new to linux commands, I need to view more than one file, currently I can use to view 1 file: tail -f pasta/arquivo I would like to be viewing 2 or more files, something like:…
-
1
votes2
answers1582
viewsI need to connect to an SSH FTP server in PHP
I have this code: <?php $ftp_server="MEUHOST.COM"; $conn_id = ftp_connect($ftp_server, 2222) or die("Couldn't connect to $ftp_server"); if (!ftp_connect($ftp_server)) echo "not connected"; else…
-
1
votes1
answer112
viewsWhy does the cd command not work via ssh on the GOCD?
I’m trying to run the command down at the terminal GOCD, but always the error occurs: Commando ssh root@host 'cd /var/www/gda-frontend/ && docker-compose up -d --build' Error bash: cd…
-
1
votes1
answer571
viewsFolder . ssh is not created when generating the ssh-keygen -t rsa -C command "[email protected]"
When trying to create a key ssh the Folder .ssh not created in windows when generating command ssh-keygen -t rsa -C "[email protected]". With that I can’t get the key that should be inside that…
-
1
votes0
answers220
viewsHow do I access a serial port from an SSH remote server with PHP?
I found about SSH and socket connections to remote servers and also about connections to local serial ports, but I still can’t find out how to put things together. Scenario: I need to access the…
-
1
votes0
answers909
viewsHow to run (interact) prompt commands by Java?(Linux and Windows)
Hey, you guys. I need to develop a java program that runs commands as if it were on promt/cmd, and in a way even interact with it. Do you know when we run some kind of command at the prompt and it…
-
1
votes1
answer47
viewsCommand in the Shell
I need to copy the last file created in one directory to another via ssh. I’m using the following command: ssh -oStrictHostKeyChecking=no user@IP "cd /home/user/backup_database/hour/; cp "`ls -1trap…
-
1
votes1
answer1039
viewsError while creating . ssh folder in windows
When I execute the command $ ssh-keygen -t rsa -C "[email protected]" get the error message: Generating public/private rsa key pair. Enter file in which to save the key (/c/Program Files…
-
1
votes0
answers86
viewsShould I use HTTPS or SSH in Gitlab ? What would be the differences?
I noticed that in gitlab there are two ways to clone a project, one by SSH and the other by HTTPS, my question is what would be the difference between them ? For safety what would be the recommended…
-
1
votes1
answer78
viewsCompress everything by SSH except a folder in Centos7
I would like to compress everything into zip, or is all content of my public_html however, I need the files folder not to be added for compression.
-
1
votes1
answer287
viewsHow to check if a connection is "sleeping" in php?
I have the following script: $fp = @fsockopen($IPAddress, $newport, $errno, $errstr, (float) 0.5); if ($fp) { echo("Conectado\n"); } else { echo("Desconectado\n"); } This script checks if a given…
-
1
votes0
answers43
viewsMACOS 10.14.1 MOJAVE
After upgrading the OS to the MOJAVE version, ssh stopped connecting to the servers. The screen gets frozen in this part: ssh user@ipServer -v Openssh_7.8p1, Libressl 2.7.3 debugging: Reading…
-
1
votes1
answer42
viewsEmail and Password continue to appear even after creating an SSH key
I created a key SSH to use on Github and even following all the steps that were the following: I used the command: ssh-keygen -t rsa -b 4096 -C "[email protected]" Then I used the command cat:…
-
1
votes2
answers656
viewsAccess web application that is running on apache from a Docker container inside a linux server that I access for ssh
By my windows machine I have access to a linux server that is on the same network through an SSH. Do I need to access a web application that runs inside apache from a Docker container on that…