Terminal's scrollback during an ssh session

Hi,
Using Terminal I am connected to a windows machine from my mac via ssh.
During this session Terminal's scrollback feature doesn't work. It always shows an output of 24/25 lines.
How can I scrollback to see more output?
Thanks.

mahsan wrote:
I am using the Terminal application in my MAC to connect to a windows PC via SSH.
In the PC I am running FreeSSHd.
Yes, I gathered that much. What program are you running in that terminal session? Is it some kind of DOS program that uses direct term I/O?

Similar Messages

  • What to do if there is abrupt termination of RMAN during a backup session

    Hi All,
    I am trying to automate the Level 0 and Level 1 backups which we ought to take. Following the is the RMAN related part of it for L1 backup:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;"
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '${BKP_LOCATION}/${LType}_%F';"
    run {"
    allocate channel c1 type disk;"
    backup"
    incremental level 1 cumulative tag = $BTAG"
    format '${BKP_LOCATION}/${LType}_%d_set%s_piece%p_%T_%U.bkp'"
    (database include current controlfile tag $CTAG) ;"
    sql 'alter system archive log current';"
    sql 'alter system archive log current';"
    backup archivelog from sequence ${CSEQ} tag $ATAG"
    format '${BKP_LOCATION}/${LType}_Arch_%d_set%s_piece%p_%T_%U.bkp';"
    release channel c1;"
    exit;"
    In the above snippet, the variables are substituted for within a shell script and then put into a command file for RMAN. I am a novice in the backup and recovery. I got above piece of code from someone working on RMAN and built my automation logic around it.
    The script works fine and I am trying to build to script level recovery feature around it. My question is:
    -- What happens if I invoke the script, the backup session starts and then there is abrupt termination of the RMAN session either because of losing the db connection or receiving an interrupt signal or a kill signal or some other weird reason.
    -- What if I re-invoke my script? Will it start from the point where it was stopped earlier or would it start from the point where we had last successful Level 1 backup completed?
    Thanks in Advance.

    Hi user781131,
    What happens if I invoke the script, the backup session starts and then there is abrupt termination of the RMAN session either because of losing the db
    connection or receiving an interrupt signal or a kill signal or some other weird reason?The backup set which rman was creating is not commited due to the abnormal termination but all succesfull backup sets can be used.
    What if I re-invoke my script? Will it start from the point where it was stopped earlier or would it start from the point where we had last successful Level 1 backup
    completed?In your backup script you do not use the < NOT BACKED UP SINCE TIME > clause so it will again do a level 1 backup off all datafiles.
    See:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#i1017236
    This option is a convenient way to back up files that were not backed up during a previous failed backup. For example, you back up the database, but the instance fails halfway through. You can restart the backup with the NOT BACKED UP SINCE TIME clause and avoid backing up those files that you already backed up. If AS BACKUPSET is set, then this feature is only useful if RMAN generates multiple backup sets during the backup.
    Regards,
    Tycho
    Edited by: tychos on 28-jan-2010 15:21

  • LMS 3.2 doesn't terminated SSH sessions on ACE

    Hi all,
    the customer has a problem with LMS 3.2. This software doesn't terminate ssh sessions created by LMS on ACE. All ssh sessions still exist on ACE, so no new  ssh session can be created until the administrator manually clear these session on ACE. Thank you for your advice.
    Roman

    Hi Gaganjeet,
    thank you very much for your reply. But I think, that this problem is with LMS, because I used some manually created SSH sessions on ACE an these sessions was terminated correctly. I'm sending you the output from one ACE module:
    ace1/Admin# sho ssh session-info
    Session ID     Remote Host         Active Time        
    789            10.210.40.41:24389   280: 2:14          
    3946           10.210.40.41:37910   160:47:13          
    7394           10.210.40.41:46981   256:46:54          
    11129          10.210.40.41:11010   136:46:43          
    11651          10.210.40.41:11295   136:40:53          
    14651          10.210.40.41:20522   232:46:45          
    15143          10.210.40.41:20759   232:42:26          
    18317          10.210.40.41:32636   112:47: 5          
    19061          10.210.40.41:35109   112: 2:25          
    19152          10.210.40.41:35240   112: 0:20          
    21886          10.210.40.41:42629   208:47: 1          
    22383          10.210.40.41:42839   208:43:14          
    25713          10.210.40.41:7305    88:47: 4           
    28996          10.210.40.41:48379   400:47: 8          
    29105          10.210.40.41:16016   184:47:16          
    29579          10.210.40.41:16193   184:44:15         
    You can see that there are a lot of ssh sessions from LMS (10.210.40.41) with the long active time.:-(
    Best regards
    Roman

  • SSH sessions over Putty die unexpectedly & commandline entry is slow

    I have a Sun Ultra-60 running Solaris 9 at patch level 118558-05. Users of this server report that their ssh sessions over Putty to this server die unexpectedly anywhere from one to two times per week. The users are usually in a vim session at the time editing php files for the website hosted on the system. Another problem reported is that the user's command line input slows dramatically and they must wait for the server to complete the line they were typing prior to proceeding.
    I cannot find the source of this problem. To date, the following is what I have tried in my troubleshooting efforts.
    1) ptdiag - reports no hardware failures
    2) /var/adm/messages - reports no issues relating to the problem mentioned above.
    3) swap -l - the server has plenty of swap and shows no need for additional swap space Here is the output from swap -l
    swapfile dev swaplo blocks free
    /dev/vx/dsk/swapvol 213,6 16 8389632 8358176
    I should also mention that /tmp is not full and is currently only at 2% of it's capacity.
    4) ndd shows that the link speed, duplex, etc. are correct at 100Mbps full-duplex.
    5) System uptime is at 337 days and the uptime command currently shows the following load: load average: 0.12, 0.11, 0.09
    6) vxdisk list shows the two internal mirrored disks as being online and no errors. iostat -En shows no soft or hard errors on the two disks
    7) This server only has two users and the main applications in use are mysql and apache.
    8) I have upgraded to the latest version of the vim editor and the problem still persists. I have also had the users upgrade to the latest version of Putty and to turn on the logging feature of Putty which hasn't revealed any information as to why the sessions are unexpectedly terminating.
    9) I have checked the /etc/default/login setting for the "TIMEOUT" variable which is commented out. I also checked the users profiles and verified that there are no timeout variables defined.
    10) Here is my netstat -i output:
    Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue
    lo0 8232 loopback localhost 52375982 0 52375982 0 0 0
    qfe0 1500 servername servername 2319804623 29884 1493848177 0 0 0
    qfe1 1500 servernamea servernamea 231550668 0 3694 0 0 0
    qfe2 1500 servernameb servernameb 40944152 1 65630146 0 0 0
    Some of these numbers look high, but I don't see any collisions.
    Any help would be appreciated. If additional commands need to be run, please advise and I will gladly post.
    Thanks much for any assistance.

    Hi Darren,
    The user's vim session dies when the users are actively typing.
    As for there being a firewall or NAT device between the workstation and the server, yes, there is. The users are in one building and the server is housed in a datacenter in a separate building. The users do not have this issue with out other Solaris 8 and Solaris 10 servers...only this one particular server. A traceroute to the server takes only 5 hops and returns quickly.
    As for the logs, I just checked /var/adm/messages and it is reporting the following types of messages over and over.:
    [ID 317013 daemon.notice] bpcd[11746] from some IP
    I think these messages are generated from Veritas Netbackup which is administered by a separate team than what I am on, but I can have them investigate.

  • LMS SSH sessions on ACE

    Hi All
    I have an issue with LMS not terminating SSH sessions on the Cisco ACE, I have posted on the network management forum as I had thought maybe they would have seen this issue.
    Link to other post: https://supportforums.cisco.com/thread/2210739?tstart=0
    Cisco LMS 3.2
    Cisco ACE A2(3.3)
    Any help much appreciated
    Regards Craig

    Craig,
    LMS 3.2 is End of Life Support.
    http://www.cisco.com/en/US/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/end_of_life_notice_c51-543581.html
    I suggest you to upgrade to 4.2(3) where it says it has been fixed that and other similar bugs.
    Jorge

  • How to Change the Default SSH Port from Terminal ? now showing default SSH Port 22 i need change it pls help me how can do

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

  • Screen Sharing and SSH sessions freeze occasionally on multiple mac minis

    I have 28 Mac Minis at work. With such a large number of minis, I obviously can't have a monitor attached to each of them so I've got them plugged into a network switch and access them via Screen Sharing (both via regular Screen Sharing and ARD) and SSH sessions.
    A few of them seem to suffer from intermittent problems however. I'll be using Screen Sharing when the session freezes. It may unfreeze eventually, but I can also usually just quit out and re-connect and it will be unfrozen. The same thing happens when I'm connected via SSH, it will freeze and I won't be able to type in any more commands.
    I need help troubleshooting (or if anyone knows what could be causing this, that'd be cool too).
    I've tried connecting from both a Mac Pro on the wired network and a MacBook Pro on the wireless network. The freezing seems to only happen on certain Mac Minis as well.
    I've tried switching network cables from a Mac Mini that doesn't suffer from this problem with one that does and nothing changed.
    I also thought it might be a bandwidth issue at first, despite being a gigabit switch connected via cat6 to the rest of our gigabit network, but even when no significant bandwidth is being used, the freezing still occurs.
    One more thing I want to test is the connection between the switch all these Mac Minis is plugged into and one of the other switches that all our other network traffic goes through. I didn't set it up myself so I fear that it might be an old, damaged cable or something. Failing that, I have no idea what the problem could be, which is why I'm posting here.
    So, does anyone have any idea what the problem could be? Or any other ideas for troubleshooting the problem? Thanks.
    (They're all running 10.6.8, and range from Mid-2007 to 2009 models).

    It would be in the system log. However, the next step would be to safe-boot in order to eliminate third-party system modifications. That goes for both client and server. If you can reproduce the problem in safe mode, then you probably have a network issue. Take everything offline except one client and one server, and test.

  • ACE 4710. Unable to clear ssh sessions

    Hi.
    Once in the CLI of an ACE 4710, using the command "clear ssh session id" I am unable to clear/kill any of the remote ssh sessions established.
    According to the administration guide, the "clear ssh .." command must clear the sessions, but it does not, or maybe I am missing something?
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/configuration/administration/guide/access.html#wp1050335
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Tabla normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    ACE/CONTEXTO_A# show ssh session-info
    Session ID     Remote Host         Active Time
    13728          222.98.54.158:50556   67:43:38
    13732          200.44.158.70:46172   67:43:36
    13735          200.44.158.70:46174   67:43:36
    13737          200.44.158.70:46177   67:43:36
    ACE/CONTEXTO_A#
    ACE/CONTEXTO_A# clear ssh 13728
    ACE/CONTEXTO_A# clear ssh 13732
    ACE/CONTEXTO_A# clear ssh 13735
    ACE/CONTEXTO_A# clear ssh 13737
    ACE/CONTEXTO_A# show ssh session-info
    Session ID     Remote Host         Active Time
    13728          222.98.54.158:50556   67:43:54
    13732          200.44.158.70:46172   67:43:52
    13735          200.44.158.70:46174   67:43:52
    13737          200.44.158.70:46177   67:43:52

    Hello,
    Seems to be working for me in my tests.  Works in the Admin context and a user context, and when clearing connections from console connection or one of the SSH sessions.
    ace-appliance-15/CTX1# sho ssh sess
    Session ID     Remote Host         Active Time
    24705          161.44.77.245:1586     0: 1:42
    25100          161.44.77.245:1589     0: 0:27
    25116          161.44.77.245:1590     0: 0:16
    ace-appliance-15/CTX1# clear ssh 25116
    ace-appliance-15/CTX1#
    ace-appliance-15/CTX1# sho ssh sess
    Session ID     Remote Host         Active Time
    24705          161.44.77.245:1586     0: 2: 5
    25100          161.44.77.245:1589     0: 0:50
    What version of software are you running on your 4710?  I am running the latest A3(2.4).  Can you try this version?
    Thanks,
    Sean

  • ACE 4710 fills up with unexplained 127.0.0.1 SSH sessions

    What could be the cause of such SSH management sessions:
    ACE/Admin# sh ssh session-info
    Session ID     Remote Host         Active Time
    21763          127.0.0.1   :11034   -347:-22: 9
    Such 127.0.0.1 originated SSH sessions are constantly filling the maximum amount of SSH management sessions (16), and block out actual remote management!

    Hello, Timo Miiluvaara,
    What is the software version ?
    If it is A3.(2.3) or earier release, and you are using SSL feature also managing the appliance via DM,
    you might hit a bug below.
    CSCtc13377
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtc13377
    Regards,
    Kim

  • Capture ssh sessions in the background

    Hi together,
    i would like to capture all ssh-session (hidden in the background) on a solaris 10 server.
    I hade some tries with /usr/bin/script -a <somewhere> in the .bash_profile but this is not what i need. e.g. "exit" exits the script and not the session.
    do you have some clever idea how to solve the issue?
    i can�t find any helpful tool.
    chears, claudius

    No, i have a System where some users get the possibility to access the server by ssh. To have a control, what the user did - and do have a verification when he did something wrong - i would like to have a possibility to see what he did within the session (e.g. editing a configfile) I had some tries with "script" and other little OS-tools but, i was�nt able to find a perfect sollution.
    Perfect meens - it�works and it is not vissible for the user.

  • How to reconnect to a disconnected remote ssh session on solaris 10

    hi all
    How to reconnect to a disconnected remote ssh session on solaris 10
    is there a way to accomplish this

    No, there's not.
    A common solution for this is to get a copy of 'screen'. After connecting via ssh (or any other protocol), you can start a "screen" session. If you get disconnected (or disconnect intentionally), you can later come back on the machine and bring your existing "screen" session back.
    Darren

  • Handle LOCAL files during a web session

    I'm developing an application with Forms 6i.
    Please consider the following command line:
    text_io.fopen('c:\tmp.txt','r')
    In client/server mode the file "tmp.txt" is searched on the local computer (on
    the client).
    In web mode the file "tmp.txt" is searched on the server.
    How can I open the "tmp.txt" file on the CLIENT computer, also in web mode?
    Is there a way to handle local files during a web session?
    Thank you in advance!

    There is a java upload bean available on OTN (somewhere in the javabean/pjc section of examplecode) ... this one lets you do what you want, but it's violating the java sandbox functionality and hence need to be certified/signed to use in a browser - which i personally think is somehwat a hassle ... also it just copies the file to the middletier - you still will need to then read it from there.
    i've found that using the webdb/portal approach for file handling is much easier. if you alerady run on web then you probably anyway have installed 9ias or a webdb/portal server somewhere ... using web.show_document builtin and a very small webdb procedure (something like 10 lines of code) will allow you to easily upload a file directly into the database into an blob!
    have a search through this forum ... i posted a working example a few days back (somewhen last week) on this forum!
    Cheers,
    Stefan

  • Great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my

    great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my beloved Photoshop!

    The Yosemite upgrade very often damages existing Photoshop installations.  Thank Apple for that.
    You need to uninstall and re-install Photoshop, then apply all the Photoshop upgrades from scratch.
    But first, give us details about your setup:
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • I am having trouble moving files from iPhoto to a thumb drive.  Sometimes I can move 20 photos next time I can only move 2 photos or 0---this is during the same session.  I also have trouble downloading photos to the internet.  Can someone please help?

    I am having trouble moving files from iphoto to a thumb drive.  During the same session sometime I can move 10 photos at a time, the next time I can only move one photo and sometime no photos will move.  I also have trouble downloading photos to the internet.  I was using a MacBook Pro and had no problems like this.  I then upgraded to the MacBook Pro with Retina Vision and this is the computer I am having problems with.  Can anyone please give me a suggestion in how to fix this problem. THANK YOU.

    iPhoto problems should be posted in their forums.
    I also have trouble downloading photos to the internet.
    Needs clarification.  You upload from your computer to the internet & download from a website/internet to your computer.  So which are you trying to do?  Either way, sounds like a browser issue.  You need to post in the forum of whichever browser you are using.

  • How can I disable the system feature which automatically restarts applications i had open during a previous session ?

    How can I disable the system feature which automatically restarts applications i had open during a previous session ?

    When you log out, uncheck the box to reopen applications. If you're still using 10.7.3, then you will have to uncheck the back with each shutdown or restart.
    10.7.4 update was suppose to fix it that when you uncheck the box, it should remain unchecked for restarts after that.
    For the resume features, check this link:
    http://reviews.cnet.com/8301-13727_7-20083707-263/managing-mac-os-x-lions-applic ation-resume-feature/?tag=mncol;title

Maybe you are looking for