Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Access SSH SERVER via GIT Bash

Tags:

git

git-bash

I'm having a problem trying to access another server using GIT Bash.

Do you know the command in GIT Bash?

I have tried but it always shows the error : bad number

like image 557
gungunst Avatar asked Feb 26 '14 10:02

gungunst


People also ask

How do I open SSH terminal?

You can start an SSH session in your command prompt by executing ssh user@machine and you will be prompted to enter your password. You can create a Windows Terminal profile that does this on startup by adding the commandline setting to a profile in your settings.


1 Answers

ssh user@server -p <port> works, at least for me.

like image 176
Mihai238 Avatar answered Sep 23 '22 11:09

Mihai238