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
-
1
votes1
answer69
viewsHow to make an ssh connection auto-reconnect after a Broken pipe error?
In my work I need to be connected all the time to a remote machine via ssh, but lately the connection has dropped every 5 minutes and it is a very boring task to stay reconnecting. There is a way to…
-
1
votes1
answer173
viewsCan I use the same SSH on two different computers?
Guys, I have two computers, a desktop and a notbook, both with Ubuntu 18. my question is: can I use the same SSH in both? I don’t want to keep adding the two keys on remote servers...
-
1
votes0
answers14
viewsHow to use using "Renci.Sshnet" in Vscode on Macos?
using System; using Renci.SshNet; namespace SSHTest { class Program { static void Main(string[] args) { SshClient cSSH = new SshClient(args[1], 22, args[2], args[3]); cSSH.Connect(); SshCommand c =…
-
1
votes0
answers20
viewsSend Password Parameters to execute a command Via Paramiko - Python
Good afternoon, I am with a project that copies a file from a server and plays it in a directory mapped to collect information from the file , but when connecting and executing the command to copy ,…
-
1
votes0
answers23
viewsWhy does Openssh only open when I cancel the git push command?
Operating system: Windows 11 Git version: 2.32.0.windows.1 I’m trying to push into a private repository on Github using Git Bash, but nothing happens. I use the command line git push origin main,…
-
0
votes1
answer237
viewsSSH - Change the default session path
How do I start my SSH session in a specific folder instead of going to ~/ (/home/user_name/).
-
0
votes1
answer69
views -
0
votes2
answers1163
viewsCopy local computer file to remote via terminal
Is there any way to copy a file from a local folder to a remote, via the terminal? Something like the command ssh?
-
0
votes1
answer72
viewsMysql backup with create schema
I need to do the backup from a database (DUMP) that comes with create schema. Which command line using PUTTY (via SSH) to do such a task ? I searched and found this command but it only backup tables…
-
0
votes2
answers453
viewsHow to compact directory except a specific folder via SSH with zip command?
I have to compress all the files and directories of the directory public_html except for var which has more than 60GB. How can I perform this operation via SSH commanding zip? I saw some shapes with…
-
0
votes1
answer165
viewsApplication to manage database in Raspberry pi
Hello. I need to develop an application for Android, to extract and delete a mysql database in a pi Raspberry, being in the same network. I thought about doing it per ssh, however, I never developed…
-
0
votes1
answer174
views -
0
votes1
answer106
viewspg_dump with Plink.exe(Putty)
I need to run some ssh commands on my linux server, from a windows machine via cmd. For this I am using Plink.exe Commando: plink -ssh [email protected] -pw 12345 -m script Script: pg_dump -U master…
-
0
votes1
answer3557
viewsSSH: Connect to Host XXXXX Port 22: Connection timed out
I’m facing a problem in mine Ubuntu and also in the Windows where I can’t access any SSH and SFTP. I only get the message from: "Connection Timed Out". I already sent the IP for my friends, and they…
-
0
votes1
answer112
viewsHow to debug a C/C++ application remotely using ECLIPSE, different operating systems?
I am developing a C++ application that runs a Nanopi M3 board with Linux specially compiled for my purpose, and there have been certain errors and unexpected behaviors, I would like to be able to…
-
0
votes1
answer273
viewsusing SFTP in php 5.3 with phpseclib
I’m trying to use the phpseclib to download with php 5.3. yet I’m not getting it to work. my test is this code: <html> <head> <meta charset="UTF-8"> <title></title>…
-
0
votes1
answer626
viewsWhen accessing with specific user he give an ssh on another server
I have 2 servers: Example: A and B. What I need: when I connect to the server A with a specific user it automatically make a ssh on the server B, if possible already sending login and password…
-
0
votes1
answer127
viewsInclude file in Java project
I have a code that runs routines inside Linux servers and access using public keys. When the project is on my pc (development), everything works because in the code I specify the location of the key…
-
0
votes1
answer218
viewsInsert data via SSH with PHP
I would like to know a way to send files to a VPS via SSH with PHP ! Could someone suggest me a help, because I am on a game server, the same has an internal database. When registering the user,…
sshasked 7 years, 4 months ago Felipe de Pietro 3 -
0
votes1
answer333
viewsConnect Pgadmin via SSH Google Cloud
Good people, let’s go. I have a server in Google Cloud, and I installed the postgres and everything ok, is working beauty, then on my machine I installed the pgAdmin III and made the configuration…
-
0
votes1
answer450
viewsHow to send multiple folders using SSH (SCP)
I have a "deploy.sh" file that has the following command: scp -r ./public_html [email protected] -p 9922 But the command keeps giving error: No such file or directory But the…
-
0
votes0
answers186
viewsHow to forward a page with masking without creating an iframe?
I bought a domain yesterday on Godaddy, and I’m redirecting the site with masking to a server I made, only it’s creating an iframe on top and I can’t see the path of the site, always stays in the…
-
0
votes1
answer38
viewsError recreating new ssh key: gitconfig: Permission denied
On the computer I work, there was another user. However I have to create a new ssh key and a new user. But when I execute the commands: $ git config --global user.name "alex Jose silva" I get the…
-
0
votes1
answer86
viewswhile read does not work in Unix shell script
I’m writing a script and using while read twice he makes the 1 only once: un=$(echo $LOGNAME | tr '[A-Z]' '[a-z]') grep -v '^#' nodeteste.txt > auxiliar.txt while read line do ssh "$un@$line"…
-
0
votes1
answer115
viewsClone hosting folder for bitbucket
How do I clone a folder that’s on my hostgator hosting for a Bitbucket project and after the changes go up to the hostgator again? It is possible? Note: I have ssh access to the hostgator and can…
-
0
votes0
answers212
viewsssh - error when connecting with 4linux
I have a little problem with ssh, I’m a beginner in linux and I’m doing a course on 4linux about the basics of Linux and so on... I’m at the cloud connect part via ssh. When I did it for the first…
-
0
votes1
answer65
viewsCommand does not work when executed via cronjob
I’m trying to create a cronjob executing the following command sudo sh /usr/local/bin/send_site_backup_files_to_dropbox.sh | ts "[%Y-%m-%d %H:%M:%S]" 2>&1 | tee…
-
0
votes0
answers123
viewsTerminate ssh remote connection
I have the following script that opens a remote connection on the terminal: xterm -e ssh -t user@IP -p porta "cd pasta && bash script.sh && exit ; bash" How to get the connection…
-
0
votes1
answer96
viewsCreate Mongodb database and user via shell
I need to create database and Mongodb user, but all via shell. I found something about --Eval and --shell, but I couldn’t make it work, I’m trying it that way: mongo mongodb://11.11.123.321:27017…
-
0
votes1
answer57
views -
0
votes1
answer223
viewsUse git in ssh hostgator hosting using a public/private key
I’m trying to access my hosting through the public and private key system but it’s giving error when I create the config file to access it without password I created the key in gitbash through the…
-
0
votes1
answer92
viewsError when recognizing Ubuntu SSH?
Next guys I’m with a serious problem,never happened this problem with me of ssh on linux,from one day to the next ssh key stopped working,I tried to repeat the process to make a new but still…
-
0
votes1
answer44
viewsConnect to a server via ssh
I need to connect to a server via ssh through the terminal. However, this server has a key. I have this key on my computer, I would like to know how to access the server with this key via ssh by mac…
-
0
votes1
answer238
viewsLogin to Github via SSH
Good morning! When I just go to the server via SSH and run the command sss -t [email protected], it returns a message showing which user is logged in to that site. My question is how I log in with…
-
0
votes1
answer78
viewsI can’t clone project in Gitlab
I’m having trouble trying to clone projects in Gitlab, I have two accounts in Gitlab where I ended up generating an SSH Key for one and the RSA for another, so I can update which account is…
-
0
votes0
answers208
viewsExecute a Postgres command via ssh and bring the result to various or txt
Friends, I have the difficulty of creating a script to perform an UPDATE in a database connecting via ssh being outside the server follows below my code. Commando: ssh hostname 'psql -d database -U…
-
-1
votes2
answers158
viewsSoftware/Script/Application to manage access to multiple SSH accounts
I work with website development and I have saved, in a file manager, hundreds of SSH client accesses and I would like some solution that "assembles" or that allows quick access to files from remote…
sshasked 10 years, 9 months ago Samuel Flores Moraes 7 -
-1
votes1
answer207
viewsHow to extract the public key from a certificate . pem to use with openssh
I have a private key rsa formatted as PEM issued by Amazon’s key generation service (AWS). I need to extract the public key from the private key to use in the file ~/.ssh/authorized_keys in other…
-
-1
votes2
answers37
viewsGit: I used the wrong credentials and now when I try to download the SSH repository, it’s fatal
When trying to download repository in SSH, I filled the wrong credentials and now only this error appears: a assinatura falhou: o agente recusou a operação [email protected]: Permissão negada…
-
-1
votes3
answers52
viewsSSH problems in Git / Github
I’m trying to push some files to my github, but I started having this problem: When I give the git push -u origin master or git push -u origin main command, the message appears below…
-
-3
votes1
answer61
viewsI can’t generate the RSA key for Github: "Too Many Arguments"
I can’t get past this stage of installation. Someone can help me? Paulo ADM@PAULOADM-PC MINGW64 ~ (master) $ ssh-keygen -t rsa -b 4096 -c [email protected] Too many arguments. usage:…