Is there a way for ssh connection other than default port 22? - ssh

In my Robot Framework script, I am trying to log in to SSH with credentials
Login ${rw_ssh_login} ${rw_ssh_password}
Using the port number 31107 defined in my master.tsv file as ${rw_ssh_port}
I am using resource = master.tsv in my project.tsv file.
I want it to connect to port 31107 as defined in master.tsv instead of the default port 22.
Can someone help me with the correct syntax ?

You specify the port in the keyword Open Connection.
syntax
SSHLibrary.Open Connection ${host_address} port=${rw_ssh_port}

Related

JupyterLab Enginne SSH Connection

i have a JupyterLab-Engine and I want to connect the terminal via SSH to the engine.
DataSpell asks for the host, the password and the port.
For some reasons it does not work. Do you know which part of the link is the host as well as which port is meant?
The link is:
jupyter.(machinename).(universityurl)

Double tunnel hop ssh

I'm using WinSSHTerm to connect to a proxy, from which I then connect to a server hosting a data warehouse. I just can't figure out how to reproduce my Putty connection using a shell command.
Short recap:
I first connect to the proxy server which maps the port 5432 to my local port 10001. After that, i connect to the database server and map its 5432 port to my proxy's 5432 port, which I previously mapped to my 10001 port locally. I am then able to connect to the databse via a database manager locally.
To do so:
I created the following connection to my proxy server first.
I then added a tunnel from there to my localhost port 10001.
Once I'm logged in to the proxy server, I use the following command to connect to the database server and map its 5432 port to the proxy's 5432 port.
ssh username#databaseServer -L 127.0.0.1:5432:databaseServer:5432
I'd like to leave putty and move to WinSSHterm, predefine some login commands for a specific server.
How may I reproduce the behavior above using a shell command?
Here's my initial try, which is unfortunately not working:
ssh username#databaseServer -L 127.0.0.1:5432:databaseServer:5432
Thank you
I was finally able to find the correct way to write it.
Loginc Cmds
ssh username#databaseServer -L 127.0.0.1:5432:databaseServer:5432
Cmd-line Args
-L 10001:localhost:5432

How to use a host and port for a SQL Server connection

I was given a host and a port to connect to a database using SQL Server Management studio. I usually create a new connection using the server name which I do not have this time. I tried to write "host, port" in the box of the server name but the connection failed. Does anyone know how to solve this issue? Thanks
I tried to write "host, port" in the box of the server name but the connection failed.
That's the correct format. So you're on to network troubleshooting. eg in powershell
Test-NetConnection -ComputerName [host] -Port [port]
I use the next format to connect by SSMS:
tcp:YOUR_IP_ADDRESS\INSTANCE_NAME, PORT_NUMBER
For example, my home connection lools like this:
tcp:localhost\MSSQLSERVER, 1433
Or this:
tcp:localhost, 1433

from mobaxterm tunnel to ssh command line

The next picture was used to create a tunnel with mobaxterm:
Does anyone knows the meaning? also, how can I do to translate this into Ubuntu Linux ssh command to create the tunnel specified by the picture?. I need this to connect to my db.
Thx
That looks roughly like
ssh myusername#grv.soccer.cpu.edu -p 7822 -L 1338:172.178.0.12:3338
which basically means: connect to grv.soccer.cpu.edu using username myusername, the server is using port 7822 instead of the default port 22 and, while you are it, put local port 1338 in LISTEN and tunnel-it to port 3338 of server/IP 172.178.0.12; after you've successfully connected to the grv.soccer.cpu.edu you'll have the service running on 172.178.0.12:3338 directly reachable locally on/at 127.0.0.1:1338.

How to connect to remote system using telnet?

I am trying to connect to another windows system using telnet as follows:
1.I open cmd.
2.type "telnet"
3.then type telnet "ip-address of remote system" e.g telnet 15.228.40.25.14
Now when I hit enter get error as:
Could not open connection to the host, on port 23:connect failed
So, please suggest how do i resolve it.
Try to make the telnet connection as
telnet 192.168.10.10 3333
without using :
What you did is correct, but the other computer has to be running a telnet server for you to connect to it on port 23.