Questions tagged as 'ssh'

0
answers

Use git on hostgator hosting in ssh via public / private key

I am trying to access my hosting through the public and private key system but it is giving error when I create the config file to access it without password I created the key in gitbash through the command "ssh-keygen" and copied / pasted in...
asked by 23.06.2018 / 00:52
0
answers

Terminate 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 can I make the connection to be terminated and close the terminal...
asked by 14.04.2018 / 18:52
0
answers

ssh - error connecting to 4linux

I have a problem with the ssh issue, I'm a beginner in linux and I'm taking a course in 4linux about the basics of Linux and etc ... I'm on the connect part in cloud via ssh. When I did it for the first time it worked out, except for the passwor...
asked by 29.03.2018 / 05:03
0
answers

How to configure Centos 7 to bind hostname to dynamic ip?

Hello. I'm new to linux and I need to know first if what I'm looking for is possible. The scenario is as follows, I have a notebook with windows 10 pro and in it I have a vm in hyper v with Centos 7. This vm was mounted using Vagrant. I am...
asked by 19.03.2018 / 11:57
1
answer

while read does not work in Unix shell script

I am programming a script and using while read twice it does 1 only once: un=$(echo $LOGNAME | tr '[A-Z]' '[a-z]') grep -v '^#' nodeteste.txt > auxiliar.txt while read line do ssh "$un@$line" "cat arquivo" > arquivo.externo cu...
asked by 13.02.2018 / 18:59
1
answer

Error creating .ssh folder on windows

When I run the command $ ssh-keygen -t rsa -C "[email protected]" I get the error message:    Generating public / private rsa key pair. Enter file in which to save   the key (/ c / Program Files (x86) /GNU/SSH/.ssh/id_rsa): Cou...
asked by 01.02.2018 / 22:13
1
answer

Error to recreate new ssh key: gitconfig: Permission denied

On the computer where I work, there was another user. However I have to create a new ssh key and a new user. But when I run the commands:    $ git config --global user.name "alex jose silva" I get the message:    error: could not lo...
asked by 01.02.2018 / 21:09
0
answers

How to route a page with masking without creating an iframe?

I bought a domain yesterday in GoDaddy, and I'm redirecting the site with masking to a server I made, except that it is creating an iframe over and I can not see the site path, it always stays in the same domain even on different pages .     
asked by 10.11.2017 / 14:39
1
answer

Insert 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, as I'm on a gaming server, it has an internal database. When registering the user, send the file to vps via SSH.     
asked by 23.07.2017 / 06:17
1
answer

SSH: Connect to Host XXXXX Port 22: Connection timed out

I am facing a problem in my Ubuntu and also Windows where I can not access any SSH and SFTP . I only get the message " Connection Timed Out ". I already sent IP to my friends, and they all managed to access it witho...
asked by 13.04.2017 / 20:17