Category "ssh"

Run X application in a Docker container reliably on a server connected via SSH without "--net host"

Without a Docker container, it is straightforward to run an X11 program on a remote server using the SSH X11 forwarding (ssh -X). I have tried to get the same t

Spring Boot SSH Mysql?

I can successfully connect to my openshift mysql through workbench, how do I do the same through my spring boot application? in my application.properties: # C

deploy with deployer fails

I'm having problem with deploying with the use of deployer, this is the first time i'm using any deployment tool. My teacher have made a guide for making it wor

paramiko hangs on get after ownloading 20 MB of file

I am in need of python sftp client to download files from a sftp server. I started to use Paramiko. Small files in KB works well but however when I try to downl

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