Sponsored Content
Top Forums UNIX for Advanced & Expert Users Access to Remote tty cli via ssh Post 302753357 by metallica1973 on Tuesday 8th of January 2013 12:54:00 PM
Old 01-08-2013
Access to Remote tty cli via ssh

Scenario:

I would like the ability to be able to use the cli on a client that has remotely connected to me via my ssh server in my office and use their terminal to work remotely if I am in another remote location.

Ex.

The client reverse ssh's to my remote ssh server in my office.
Code:
ssh -R 10002:localhost:22 client@my-remote-ssh-server

I remotely ssh into my ssh server from another client site.
Code:
ssh -L 3400:localhost:3400 admin@my-remote-ssh-server

and from there I would be connected to the tty of the remote client from wherever I am.

Is this possible?

Code:
ssh -t user@some.domain.com /usr/bin/screen -xRR

or 

ssh -t remote_host screen -r

??
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tty remote IP

I am fairly new to Unix Terminal outputs and I have a server that is sending print jobs to a PortServer 8 RJ45 situated in a remote location. It is working fine however we need to change the Subnet of that location and I am unable to find where the IP associated with the terminal is located. ... (4 Replies)
Discussion started by: martin_Montreal
4 Replies

2. Shell Programming and Scripting

Getting rid of "Warning: no access to tty....

So I have been submitting a lot of pbs jobs using the qsub command: qsub -l nodes=1: ppn=1,walltime=4:00:00 run.csh and everything works perfect except that I get the following error at the top of each output file: Warning: no access to tty (Bad file descriptor). Thus no job control in this... (0 Replies)
Discussion started by: pattywac
0 Replies

3. Linux

Access environment variables on remote host using ssh

How can i access environment variables on remote host using ssh example: # Remote server $ echo $MAIL /var/spool/mail/gacf $ # Local server $ ssh gacf@server1 'echo $MAIL' /var/mail/gacf $ Expected to find: $ ssh gacf@server1 'echo $MAIL' /var/spool/mail/gacf $ (3 Replies)
Discussion started by: brendan76
3 Replies

4. AIX

TTY Reconnaissance for remote users

I'm trying to create an automated script, which (I feel) needs to be able to map local processes of a certain program with certain remote hosts. The script will know which remote host and local program it will be looking for during the mapping. Essentially the goal is to programmatically pull which... (3 Replies)
Discussion started by: thmnetwork
3 Replies

5. Linux

Create VNC Session on remote machine on which ssh access is denied

Hi Folks, I want to create VNC session on the Remote RHEL machine on which ssh access is denied. Is there any way so that I can create VNC session without ssh access. Let me know all possible ways! (1 Reply)
Discussion started by: gydave
1 Replies

6. IP Networking

Ssh to remote access point http server

I need to do some remote administration to an access point that is sitting behind a firewall that only has ssh enable from the outside but http/https from the inside. So to be a bit clearer: remote(outside firewall) ssh --> ssh-server(internal) --> access point(http/https) Ultimately... (3 Replies)
Discussion started by: metallica1973
3 Replies

7. Shell Programming and Scripting

Multi server access through remote server using ssh

Team, Presently I have 5 ip address kept in ip_abc1 file, for each of the ip address listed, i need to login on each ipaddress one at a time and login as below for that specific ip address ssh -p 8101 karaf@<ip.address_for the specific ip address as logged in> password features:list... (4 Replies)
Discussion started by: whizkidash
4 Replies
gnutls-cli-debug(1)					      General Commands Manual					       gnutls-cli-debug(1)

NAME
gnutls-cli-debug - GnuTLS test client, with verbose output SYNOPSIS
gnutls-cli-debug [options] hostname DESCRIPTION
Simple client program to set up a TLS connection to some other computer. Like gnutls-cli(1), it sets up a TLS connection and forwards data from the standard input to the socket. Any information about the TLS control connection is printed to standard error. OPTIONS
-d, --debug integer Enable debugging. -p, --port integer The port to connect to. -h, --help Prints a short reminder of the command line options. -v, --verbose Even more verbose output. SEE ALSO
gnutls-cli(1), gnutls-serv(1) AUTHOR
Nikos Mavroyanopoulos <nmav@gnutls.org> and others; see /usr/share/doc/gnutls-bin/AUTHORS for a complete list. This manual page was written by Ivo Timmermans <ivo@debian.org>, for the Debian GNU/Linux system (but may be used by others). December 1st 2003 gnutls-cli-debug(1)
All times are GMT -4. The time now is 03:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy