Results 1 to 3 of 3

Thread: nano over ssh / dropbear doesn't work?

  1. [translate]    #1
    Senior Member
    Join Date
    Feb 2010
    Posts
    119

    Default nano over ssh / dropbear doesn't work?

    I can't seem to run nano from the shell when logging in over ssh.

    I've tried from putty:
    Code:
    # nano
    Error opening terminal: xterm.
    and from ssh
    Code:
    # ssh 192.168.0.100
    root@192.168.0.100's password:
    # nano
    Error opening terminal: screen.
    Anyone know what the problem could be?

    I guess it is because "export TERM="screen" (or xterm) is set and it doesn't match correctly?

    nano.png

  2. [translate]    #2
    Senior Member
    Join Date
    Feb 2010
    Posts
    119

    Default

    Got it to work !
    Code:
    export TERMINFO=/etc/terminfo
    export TERM=linux

  3. [translate]    #3
    Member
    Join Date
    Jun 2010
    Location
    Slovenia
    Posts
    81

    Default

    Is there a way to automatically perform these exports at each login? Like .bashrc or bash_profile file?

    ---------- Post added at 11:58 AM ---------- Previous post was at 11:48 AM ----------

    OK, found it
    If you edit /etc/profile it works, but /etc/bash/bashrc gets ignored.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •