SSH shell is strange

Hello :smiley:

I have a server with SSH enable. It is install with “lukas”. If I connect with lukas I have the normal shell and I can do what I want.
grafik

With my user “youtube” I have this:
grafik

I cannot go to the last command with arrow up. That is ultra weird. I add the user via CLI. I don’t know exactly to explain this :smiley:

System:
  Kernel: 6.10.2-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=9bdc1bb8-710e-4a2b-a1fc-d771d79d9fb1 rw rootflags=subvol=@
    quiet splash amd_iommu=on ibt=off
  Desktop: Cinnamon v: 6.2.7 tk: GTK v: 3.24.43 wm: Muffin v: 6.2.0 tools:
    avail: cinnamon-screensaver,xautolock vt: 7 dm: LightDM v: 1.32.0
    Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: CROSSHAIR VI HERO v: Rev 1.xx
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 7704
    date: 12/16/2019
CPU:
  Info: model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 4x16 MiB
  Speed (MHz): avg: 2429 high: 4454 min/max: 2200/4672 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1977 2: 4448
    3: 2106 4: 2200 5: 1977 6: 2125 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200
    12: 2200 13: 2199 14: 3727 15: 4454 16: 2701 17: 1978 18: 2007 19: 2200
    20: 2200 21: 2200 22: 2200 23: 2200 24: 2200 bogomips: 182406
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: nvidia
    v: 555.58.02 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
    (as of 2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: lanes: 16 ports: active: none off: DP-2,HDMI-A-1,HDMI-A-2
    empty: DP-1,DVI-D-1 bus-ID: 0b:00.0 chip-ID: 10de:1b81 class-ID: 0300
  Device-2: NVIDIA GP104 [GeForce GTX 1070] vendor: CardExpert
    driver: nvidia v: 555.58.02 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none empty: DP-3,
    DP-4, DP-5, DVI-D-2, HDMI-A-3 bus-ID: 0c:00.0 chip-ID: 10de:1b81
    class-ID: 0300
  Device-3: Logitech StreamCam
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-3:2 chip-ID: 046d:0893
    class-ID: 0300 serial: <filter>
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1 driver: X:
    loaded: nvidia gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x1080 s-dpi: 92 s-size: 1590x301mm (62.60x11.85")
    s-diag: 1618mm (63.71")
  Monitor-1: DP-2 mapped: DP-3 note: disabled pos: primary,center
    model: BenQ GL2450H serial: <filter> built: 2015 res: 1920x1080 hz: 60
    dpi: 92 gamma: 1.2 size: 531x298mm (20.91x11.73") diag: 609mm (24")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Monitor-2: HDMI-A-1 mapped: HDMI-0 note: disabled pos: right
    model: Dell SE2422H serial: <filter> built: 2022 res: 1920x1080 hz: 60
    dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Monitor-3: HDMI-A-2 mapped: HDMI-1 note: disabled pos: left
    model: Dell SE2422H serial: <filter> built: 2022 res: 1920x1080 hz: 60
    dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 1
    drv: nvidia device: 4 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia
    x11: drv: nvidia inactive: wayland,device-2,device-3
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 555.58.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2
    memory: 7.81 GiB
  API: Vulkan v: 1.3.279 layers: 9 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1070 driver: nvidia v: 555.58.02
    device-ID: 10de:1b81 surfaces: xcb,xlib device: 1 type: discrete-gpu
    name: NVIDIA GeForce GTX 1070 driver: nvidia v: 555.58.02
    device-ID: 10de:1b81 surfaces: N/A
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 0b:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-2: NVIDIA GP104 High Definition Audio vendor: CardExpert
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 0c:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-3: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-4: RODE Microphones NT-USB driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:3
    chip-ID: 19f7:0003 class-ID: 0300
  Device-5: Logitech StreamCam
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-3:2 chip-ID: 046d:0893
    class-ID: 0300 serial: <filter>
  API: ALSA v: k6.10.2-zen1-2-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.2.2 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Drives:
  Local Storage: total: 6.37 TiB used: 789.13 GiB (12.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO with
    Heatsink 1TB size: 931.51 GiB block-size: physical: 512 B logical: 512 B
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 4B2QGXA7
    temp: 38.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Hitachi model: HUA723020ALA641
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: A840 scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD10EFRX-68PJCN0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 0A82 scheme: MBR
  ID-5: /dev/sdd maj-min: 8:48 vendor: Western Digital
    model: WD10EADS-00M2B0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s tech: N/A serial: <filter> fw-rev: 0A01
    scheme: MBR
  ID-6: /dev/sde maj-min: 8:64 vendor: Samsung model: SSD 860 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1B6Q scheme: GPT
Partition:
  ID-1: / raw-size: 896.82 GiB size: 896.82 GiB (100.00%)
    used: 789.13 GiB (88.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 896.82 GiB size: 896.82 GiB (100.00%)
    used: 789.13 GiB (88.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 896.82 GiB size: 896.82 GiB (100.00%)
    used: 789.13 GiB (88.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 896.82 GiB size: 896.82 GiB (100.00%)
    used: 789.13 GiB (88.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.27 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 24 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 34.39 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 57.0 C mobo: 30.0 C gpu: nvidia temp: 54 C
  Fan Speeds (rpm): cpu: 1442 case-1: 0 case-2: 1201 case-3: 0 gpu: nvidia
    fan: 0%
  Power: 12v: 12.23 5v: N/A 3.3v: N/A vbat: 3.18
Info:
  Memory: total: 32 GiB available: 31.27 GiB used: 10.13 GiB (32.4%)
  Processes: 541 Power: uptime: 1h 16m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.46 GiB services: csd-power,upowerd
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 2190 libs: 623 tools: paru,yay Compilers:
    clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
    running-in: gnome-terminal inxi: 3.3.35
Garuda (2.6.26-1):
  System install date:     2024-01-20
  Last full system update: 2024-08-04
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms

The pictures you added do not clearly illustrate the problem. Can you explain what the issue is?

1 Like

The problem is, that if I want to use arrow up for the last command.
grafik
this happend. The command didn’t show up.

Please do not post pictures of the terminal. Instead, copy and paste the terminal output as text, and then format it as a code block by highlighting it and clicking the </> button in the editor.

What is the exact command you used to create the new user? Check history if you are not sure.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.