Software :: Process Running Even After Telnet Session Has Been Deliberately Ended?

Mar 28, 2011

I have ubuntu 10.04 & I telnet to windows vista. Even if I create a hidden process [URL].. from batch file . It seems the process gets killed when I end connection at port 23 to host. Maybe , the hidden process created is still child of current telnet session so tree is killed as session ends. Is there a way to keep process running even after telnet session has ended ?

View 6 Replies


ADVERTISEMENT

Slackware :: Script - Telnet Session Is Opened And Then Some More Commands Are Forwarded To That Session?

Apr 12, 2010

hypothetically speaking, can i write a script in which a telnet session is opened and then some more commands are forwarded to that session?

View 4 Replies View Related

Ubuntu :: Telnet Session Hanging On 9.04?

Apr 25, 2010

I am running Ubuntu 9.04 on a wireless networked host machine. The wireless NIC is usb based. Its running inetd for network based servers (telnet, ftp etc).For some reason telnet, ssh or any application specific connection, hangs for a few seconds and then comes back. This happens after every few minutes. I do not loose any sessions or any data flowing across but it is sort of very annoying.It is a dual boot machine and I have also got Windows XP 64-bit. When am running on windows this does not happen, hence am not sure if it is something to do with the wirless nic or something else

View 2 Replies View Related

Programming :: Telnet- How To Restart Session

Apr 23, 2011

I have done some tcp stream multiplexer. I'm using it as independent login proxy (user is once authenticated and then switched to hidden device (cisco)). But I need to reset session (no connection) configuration, because cisco supports xterm, ctr-c, etc... Am I able to do? Just restart negotiation? Using IAC codes?

View 2 Replies View Related

Fedora :: Using Lxterminal To Connect To A Telnet Session On Another *nix Box

Jun 22, 2011

I am using lxterminal to connect to a telnet session on another *nix box.

After I connect, I always have to enter the command

Code:
export TERM=xterm

is there anyway to automate this?

View 3 Replies View Related

Security :: Restrict Telnet Session To Users ?

Oct 22, 2009

I want restrict telnet session to users.

That means the client login one user at a time. not multiple login.

For example:

I want restrict this. How to restrict one user to use multiple login.

View 4 Replies View Related

Ubuntu :: Can't Spawn Telnet Session In Expect Script

Apr 22, 2010

I am moving my migration forward and am trying to get my expect scripts tested and found one that no longer works. Quite simply, it spawns a telnet session to a router.

#!/usr/bin/expect
set env(TERM) vt100
set timeout 3
set send_human {.1 .3 1 .05 2}
set timeout -1
#
spawn telnet 10.254.3.232

and that's it. The result of the script is that the command to spawn simply shows up on the screen like it is a puts command. On my older openSUSE system, it worked fine. I am running Ubuntu v9.10 desktop, and expect and its libs are patched to the latest rev, expect is 5.43.0.

View 1 Replies View Related

General :: Command Line To Open A Second Telnet Session ?

Mar 15, 2010

On my ubuntu 9.10 pc i am not running a GUI.

Every thing is run from command line.

How do i start a second telnet session from command line.

Plus can i have 4 telnet session open and move from one to the next and back again.

View 5 Replies View Related

General :: Telnet Session Timout Settings In Redhat 5?

Feb 22, 2010

where to set the telnet session timeout for the IDLE time in redhat linux.

View 2 Replies View Related

Software :: Shell Script Commands To Automate Server Or Host Telnet Login Session?

Feb 7, 2010

finally i found the script for telnet automated login session...<<Mod edit: questionable link removed>>

View 4 Replies View Related

Programming :: TCL Expect Script That Spawns A Telnet Session To A Nortel - Response In Expect_out Is Not Consistent

Dec 2, 2010

I have a TCL expect script that spawns a telnet session to a Nortel DMS100 to execute some commands. The strange thing is that the response in expect_out is not consistent. It sometimes contains a extra enter or newline. This results in differences in the expect out buffer. Here is a part of the script:

send "time
"
sleep 1
expect -re ">"

[code]...

This command displays the time. The correct output should be (with log_user=1):

>time
Time is 11:44:04
>

But sometimes the output is:

>timeTime is 11:45:04
>

As you can see here the is missing on the command that expect sends , or at least in the echo that is comming back. I use a split command to filter out the response in the expect_out buffer, but this fails when the is missing. Here is a example with the debug enabled:

[code]....

I suspect it has something to do with a slow response of the switch. I tried to send the time command slow and with the send_human but the result is the same. A timeout between the send and expect also doesn't help.

View 1 Replies View Related

Ubuntu :: Create A Reverse SSH Proxy For A Telnet Process

Mar 12, 2010

I have a project that I'm working on now that is using Ubuntu 8.04LTS to create a reverse SSH proxy for a telnet process. We have the box logging in with RSA keys so that it can automatically connect to the SSH host on our end. We are using autossh to keep the connection up and running.

We have rolled out 3 of these and they are working very well. We ghosted the original, changed the hostname, changed the IP info, and regenerated the SSH keys. Now I need to clone 35 more. I want to try to do this as efficiently as possible and can script the changes in the hostname, IP, ect.

Can I batch create RSA keypairs on my workstation and then copy them over as a part of the batch? My current other option is to login to each of them and generate the pair. I would like to just install the drive and ship it and not even have to boot it up.

View 3 Replies View Related

General :: Error "already Connected To Xxx" When Connect To Computers Using This Telnet Session

Aug 21, 2010

I have got three computers at my home[A,B,C] ( all connected to each other), now I connect to B from A using telnet( $telnet ip_B) , but when I try to connect to C using this telnet session( telnet > open ip_C) , I get this error, "already connected to xxx". Is it possible to connect A to B and then use that session to connect to C, so that C finds that the request is being asked by B.

View 7 Replies View Related

Ubuntu Servers :: Telnet Service Not Running?

Aug 27, 2010

I have telnet service intalled(apt-get install telnetd), but when I type telnet, I'm getting the following error:

bash: /usr/bin/telnet: No such file or directory

View 9 Replies View Related

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.

View 1 Replies View Related

General :: Process Killed During SSH Session

Jul 31, 2009

I've always wondered whether my process kills when I am in the process of doing something during my ssh session. For instance, I ssh from my local box to dev-formbox and did an scp transfer to another remote host. All of the sudden, I lost ssh connectivity on my local box due to network issue. Will the scp process (or any of my process that I am currently doing) kill also once I loose the ssh session?

View 1 Replies View Related

Fedora :: Disowning A Process Started In A Ssh Session?

Sep 10, 2009

I started a process in a PuTTY session that I want to survive after I've disconnected. I issued a `disown` on the process (forgot to add the -h option). I've attached a small summary of the commands issued within the PuTTY session as well as an excerpt from the pstree (essentially switched user contexts twice, issued command, suspended program, disown'ed, resumed program

Command summary

Code:
> su -
> ...
> su -l <useraccount>
> ./myprogram

[Code].....

View 2 Replies View Related

Ubuntu :: Get A List Of Packages That I Installed Deliberately?

Feb 23, 2011

In MacPorts, the ports I would be looking for are the requested ports. They have a system so that when you install a port, that port is marked as requested. Also if you want to keep a port that was installed as a dependency, you can set it to be requested manually. Does the Debian system have the same functionality? It seems that there are some utilities that get that done..

View 3 Replies View Related

General :: Keep A Process Alive After Closing The Putty Session?

Jan 16, 2010

I am using putty to interact with Linux server. I have started a process using putty.
The process is running and will take 5-6 hours. I want that process to keep running after I close the putty session. How can I keep that process alive after closing the putty session? I do not want to keep the computer ON all the time. Is there any way to do this?.

View 5 Replies View Related

General :: How To Find Apache Client Session Process Id?

Apr 21, 2010

I am running Montavista distribution. I have an Apache server running in my machine. Now I want to know how many clients are connected to the Apache server and what are the process ids for those sessions. What is the command to do that?

View 5 Replies View Related

General :: Deliberately Introduce A Delay For Incoming UDP Packets?

Aug 9, 2010

I want each packet (that match iptables rule) to be delayed by some fixed time interval. How to to this?

Preudocode: iptables -A INPUT -p udp <more conditions> -j DELAY --delay 50000 # delay UDP packets for 50 milliseconds

Update: @related http://superuser.com/questions/147156/simulating-a-low-bandwidth-high-latency-network-connection-on-linux

View 1 Replies View Related

OpenSUSE Install :: Can't Login / Checkproc: Can Not Get Session Id For Process 9839?

Jan 12, 2010

I was working normally and the GUI just failed, all I could still see were any open windows. I rebooted the machine from tty1 and now I can't login anymore under my normal user accounts.

I enter my credentials, it appears to login, and immediately goes back to the login screen. Note that under tty1 I can still login with my user account and do everything.

I can still login with root in the gui.

/var/log/messages says this

Code:machine checkproc: checkproc: can not get session id for process 9839!

View 9 Replies View Related

Ubuntu :: Automatically Run A Process In A Screen Session And Then Detach And Quit Terminal

Jul 24, 2010

There are often times when the best way to launch an application is from the terminal, but it is a graphical application and after it is launched the terminal is useless.

Examples of places where a terminal is convenient are when a process starts lots of child processes and is also unstable; you can be sure to kill all of its children simply by using Ctrl-C at the terminal. Also it allows me to read program output and to set up the terminal environment to be optimal for the application (for example "unset LIBGL_ALWAYS_INDIRECT")

With GNU screen, I can get around the hassle of having a terminal window open by using something like the following in a terminal window:

Code:
screen
my_command
Ctrl-A d

and then I can close the terminal and the program will keep running. Then I just type "screen -r <Tab>" (the tab will get me my screen session if there is only one such session) in any terminal window, even a tty, and I can get the screen session back and use Ctrl-c or something.

So my question is, is there a way to do this automatically so that a launcher or script will start a screen session, inside that screen session start a process, and then detach from that screen session without me having to manually open and close a terminal and type the commands?

View 2 Replies View Related

Software :: Does Open Process Continue To Work If Putty Session Is Closed

Apr 14, 2010

I am downloading a big file on linux VPS, and I am connecting remotely via Putty to do it? Once I initiated the wget command to download the file, if I close the putty window, will wget continue to download the file in the background even though the session is technically closed?

View 11 Replies View Related

Networking :: Difference Between Krb5-telnet And Ekrb5-telnet

Feb 18, 2010

I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)

View 1 Replies View Related

General :: Error - The Session Manager Initialization System Process Terminated Unexpectedly With A Status

Jun 5, 2011

I installed slackware 12.1 from files i downloaded and converted to cd (images). There are six "disks" i downloaded from the slackware site and converted to images via a homemade .cmd in windows xp and then burned using imgburn.

I partitioned my hd (canibalized from an acquaintance's emachine and connected it to my desktop (1G ram, 2Ghz processor). Booted from disk 1 and fomatted the 80G HD for 2 partitions of linuxswapable at 2G apeice and 2 partitions of bootable linux. (Because i want to try another distro later). I ran the setup installing most everything and all seemed to go well. After i exited setup and restarted, it identifed the cd/hd as normal and then went into some sort of recovery mode with the emachine logo call pcangel, after which it tells me.

STOP: c0000021a (fatal system error) The session manager initialization system process terminated unexpectedly with a status of 0xc000003a (0x00000000 0x00000000). the system has been shut down. So, is this indeed an xp error message, and if so, why am i getting it after formatting everything?

View 3 Replies View Related

General :: Running GUI From SSH Session

Dec 7, 2009

I am using SSH to access a UNIX running red had Linux. If possible I would like to invoke the GUI on my connection. Is there a way I could do that e.g by exporting the display or running X-server.

View 2 Replies View Related

Ubuntu :: TOR Ended Unexpectedly When Vidalia Opened

Oct 17, 2010

I just installed TOR but get an error that it has ended unexpectedly when I open Vidalia. The log has the following:

Oct 17 18:42:09.770 [Notice] Tor v0.2.2.17-alpha (git-d30d4eb843f12e65). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686)
Oct 17 18:42:09.771 [Notice] Initialized libevent version 1.4.13-stable using method epoll. Good.
Oct 17 18:42:09.771 [Notice] Opening Socks listener on 127.0.0.1:9050
Oct 17 18:42:09.771 [Warning] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Oct 17 18:42:09.771 [Warning] Failed to parse/validate config: Failed to bind one of the listener ports.
Oct 17 18:42:09.771 [Error] Reading config failed--see warnings above.

I'm running Ubuntu 10.10.

View 4 Replies View Related

Ubuntu :: Running A Tidy Gnome-session Over X?

Oct 13, 2010

I have both a mac and ubuntu box sitting on my desk. I work on the mac and access the ubuntu box over ssh.Often I need the point-and-click interface of the ubuntu box, at which point I run gnome-session. The problem is that the top and bottom menu bars fill the full size available to them, which can cause me problems (I use two different-sized screens and the barsget hidden), and overall it looks very messy. I would therefore like to confine the gnome-session to a window, much like you get with vnc (or parallels if you're running a virtual ubuntu session).

View 5 Replies View Related

Server :: Another Session Logged In But Running No Processes?

Jan 30, 2011

My University gives us access to a Linux server, named stud1.

Code:

me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Apparently I was logged in, and never logged out sometime:

Code:

me@stud1:~$ who
<snip>
me pts/37 Jan 30 13:27 (6.6.66.66)
<snip>
me pts/58 Dec 30 19:13

but when trying to find out why I'm still logged in, I can't find it:

Code:

me@stud1:~$ ps faux |grep me
root 30030 0.0 0.0 51128 4360 ? Ss 13:27 0:00 \_ sshd: me [priv]
me 30033 0.0 0.0 51132 2336 ? S 13:27 0:00 \_ sshd: me@pts/37

[code]....

how can I logout this unused session?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved