Category "ssh"

How not to pass the locale through an ssh connection command

I have some aliases for ssh, example: alias buildWork="ssh work '~/build_app'" The problem is that the ssh command passes some variables like $LC_CTYPE that ca

SSH permission denied (publickey) - Laravel Forge

I have followed Jeffrey Way's instructions and I am continuously getting the same SSH error within Terminal. I am wanting to connect through Sequel Pro and upo

Implementing SSH Server in C#/.Net

A project we're working on just got a new requirement added to it: it has to be able to receive files through SFTP (SSH) using key/pair authentication. We've be

Disable SSHAgent with command line option

How can I tell ssh with a command line option to not use the SSH-Agent? ssh -a does something different. It does not forward the agent, but uses it. I read th

SSH and identity file for jump server

I'm trying to log into my-server through a jump server, jump.example.com. I can successfully log into the jump server without a password request: ssh -i .ssh/id

ssh -vvvT failing with "shell request failed on channel 0"

While trying to setup git SSH from my windows laptop, I see the below. How do I make it work? Currently, I see "shell request failed on channel 0" Command Exa

ssh connect Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)

I have a pair of keys to epadmin on machine A. I copied them on machine B in home folder of epadmin via scp in folder .ssh command for access : ssh epadmin@10.

create jenkins ssh username with private key credential via rest xml api

Basically, I am trying to create a credential on jenkins via Rest API. Using xml data below: <?xml version='1.0' encoding='UTF-8'?> <com.cloudbees.jen

How to check if ssh-agent is already running in bash?

I have a sample sh script on my Linux environment, which basically run's the ssh-agent for the current shell, adds a key to it and runs two git commands: #!/bi

git pushes with wrong user from terminal

I have an issue with git and my terminal. Here's a gallery to show you my issue : http://imgur.com/a/6RrEY When I push commits from my terminal, git says I pu

Forward SQL Server ODBC over SSH via putty

I would like to access a Azure SQL database. It is accessible on port 1433. However, the firewall is blocking this request. Therefore, I wold like to tunnel my

ssh-keygen - how to set an rsa key with a certain username

I just installed ubuntu and would like to set its rsa keys up with bitbucket/github. When I ssh-keygen the keys are generated as they should be ssh-rsa AA...yB

SSH Key - Still asking for password and passphrase

I've been somewhat 'putting up' with Github always asking for my username and password when I clone a repository. I want to bypass this step because it is an a

Is there any way of having maven scp wagon work consistently on linux/mac/windows platform?

Given the very poor documentation about scp/ssh and maven I tried different approaches, basically falling in two main categories: using scpexe wagon and scp wag

Git's famous "ERROR: Permission to .git denied to user"

I have tried googling and read through https://help.github.com/en/articles/connecting-to-github-with-ssh and various, various guides. I am unable to git push -u

How I can directly login to rails console through ssh?

Time to time I repeat the following commands: ssh username@servername cd /projects/rails_project bundle exec rails c production I want to create a shell scri

SSH: Connection closed by remote server

I am trying to ssh login to my remote server. But whenever i try to login through terminal using ssh command: ssh root@{ip_address} I get error: Connecti

How to generate ssh keys (for github)

Question: How do I generate ssh private and public keys (to be used in GitHub/GitLab) using command line. The command below generates the error sh.exe": syntax

why password less ssh not working?

I connected 3 data nodes(in all these data nodes pass-wordless is working fine) in my cluster which are working fine but when i try to connect another data node

Jsch java ssh client is not getting disconnected after command gets executed

I am using java ssh client (http://www.jcraft.com/jsch/) to connect to remote machine and execute the command. The code is working fine till i connect to remote