Sponsored Content
Top Forums UNIX for Advanced & Expert Users Access to Remote tty cli via ssh Post 302753941 by metallica1973 on Thursday 10th of January 2013 10:45:31 AM
Old 01-10-2013
Many thanks for the reply. We are talking linux(cli) to client(cli). I have always been able to do this to a gui but what I want is access to the cli.Let me clarify:

Code:
A (you(linux), remote) ------ S (server(linux, office) ----- C (client(linux), remote)

1                                          <----------   C sets up reverse ssh session
2                 ----------> A sets up ssh session
3                                          ----------> A wants cli access to C cli

?

---------- Post updated 01-10-13 at 10:45 AM ---------- Previous update was 01-09-13 at 04:35 PM ----------

The reason that I ask this question is that some of the sites they dont allow ssh access into their network. So typically I have them ssh to my server and up unto this point, I "vnc" to the Gnome desktop and open up a terminal in that manner to be able to work. I wanted to avoid accessing the GUI and be able to access the cli directly. Would "-S" option work using SSH? Is that what I need to be using?
 

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
ssh-keysign(1M)                                                                                                                    ssh-keysign(1M)

NAME
ssh-keysign - ssh helper program for host-based authentication SYNOPSIS
ssh-keysign ssh-keysign is used by ssh(1) to access the local host keys and generate the digital signature required during host-based authentication with SSH protocol version 2. This signature is of data that includes, among other items, the name of the client host and the name of the client user. ssh-keysign is disabled by default and can be enabled only in the global client configuration file /etc/ssh/ssh_config by setting Host- basedAuthentication to yes. ssh-keysign is not intended to be invoked by the user, but from ssh. See ssh(1) and sshd(1M) for more information about host-based authen- tication. /etc/ssh/ssh_config Controls whether ssh-keysign is enabled. /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_rsa_key These files contain the private parts of the host keys used to generate the digital signature. They should be owned by root, readable only by root, and not accessible to others. Because they are readable only by root, ssh-keysign must be set-uid root if host-based authentication is used. ssh-keysign will not sign host-based authentication data under the following conditions: o If the HostbasedAuthentication client configuration parameter is not set to yes in /etc/ssh/ssh_config. This setting cannot be overri- den in users' ~/.ssh/ssh_config files. o If the client hostname and username in /etc/ssh/ssh_config do not match the canonical hostname of the client where ssh-keysign is invoked and the name of the user invoking ssh-keysign. In spite of ssh-keysign's restrictions on the contents of the host-based authentication data, there remains the ability of users to use it as an avenue for obtaining the client's private host keys. For this reason host-based authentication is turned off by default. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsshu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ ssh(1), sshd(1M), ssh_config(4), attributes(5) AUTHORS
Markus Friedl, markus@openbsd.org HISTORY
ssh-keysign first appeared in Ox 3.2. 9 Jun 2004 ssh-keysign(1M)
All times are GMT -4. The time now is 07:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy