SSH key falsch gelöscht

Support-Forum für deutschsprachige Benutzer

Moderator: karlchen

Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
Enno_linux
Level 1
Level 1
Posts: 33
Joined: Tue Feb 21, 2023 5:18 pm

SSH key falsch gelöscht

Post by Enno_linux »

Hi,
mir ich habe ausversehen alle files im .ssh ordner gelöscht und nun kann ich keinen key mehr erzeugen also es funktioniert und es wird auch gesagt das er unter .ssh gespeichert ist aber wenn ich

Code: Select all

ls -al ~/.ssh
ausführe kommt nur das :

Code: Select all

total 8
drwx------  2 enno enno 4096 Mär 25 20:27 .
drwxr-x--- 37 enno enno 4096 Mär 25 20:17 ..
aber unter dem Fenster wird nichts angezeigt
kann mir jemand helfen?
Gruß Enno
Last edited by LockBot on Mon Sep 25, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
ehtron
Level 10
Level 10
Posts: 3364
Joined: Thu Apr 14, 2016 8:15 am
Location: Germany / Baltic Sea
Contact:

Re: SSh probleme

Post by ehtron »

Hi :)
genutztes system/desktop? oder inxi -Fzr info als codeblock! </> (mache dich bitte in den deutschen info threads oben schlau, oder auch in anderen threads zu ersehen, welche infos hier im start post erwartet und wie sie dargestellt werden. den dahingehend bitte ändern.)
diese info ist für auch für jemanden der hier in ein paar jahren liest, existentiell.
die Angaben gehören nicht in die Signatur, da sie nach änderung nicht mehr zum posting passen.
am besten erst informieren, dann posten.
Lg. Ehtron :)
Keine Hilfe bei fehlender System / Desktop Angabe.
Ich gebe Hilfe zur Selbsthilfe.
Enno_linux
Level 1
Level 1
Posts: 33
Joined: Tue Feb 21, 2023 5:18 pm

Re: SSH key falsch gelöscht

Post by Enno_linux »

Sorry, bin mir nicht sicher ob ich dein Post richtig verstanden habe, also sollte ich die beschreibung ändern oder habe ich das faslch verstnden ?

Code: Select all

System:
  Kernel: 6.1.0-1007-oem x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.6.8 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 81W8 v: Lenovo IdeaPad S145-15IIL
    serial: <superuser required> Chassis: type: 10 v: Lenovo IdeaPad S145-15IIL
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN serial: <superuser required> UEFI: LENOVO
    v: DKCN54WW date: 01/27/2022
Battery:
  ID-1: BAT0 charge: 27.2 Wh (99.3%) condition: 27.4/30.6 Wh (89.5%) volts: 8.2 min: 7.6
    model: CPT-COS L16C2PB2 serial: <filter> status: Discharging
CPU:
  Info: quad core model: Intel Core i5-1035G1 bits: 64 type: MT MCP arch: Ice Lake rev: 5 cache:
    L1: 320 KiB L2: 2 MiB L3: 6 MiB
  Speed (MHz): avg: 3061 high: 3546 min/max: 400/3600 cores: 1: 3064 2: 3301 3: 2767 4: 3494
    5: 1776 6: 3238 7: 3303 8: 3546 bogomips: 19046
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Plus Graphics G1 vendor: Lenovo driver: i915 v: kernel ports: active: eDP-1
    empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a56
  Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-5:2 chip-ID: 174f:1176
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 monitors: <missing: xrandr>
  Monitor-1: eDP-1 model: AU Optronics res: 1920x1080 dpi: 142 diag: 395mm (15.5")
  OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 22.2.5 direct render: Yes
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:34c8
  Sound Server-1: ALSA v: k6.1.0-1007-oem running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo
    driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 01:00.0
    chip-ID: 10ec:c82f
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-10:3
    chip-ID: 0bda:c02f
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
    sub-v: 6d7d
Drives:
  Local Storage: total: 476.94 GiB used: 121.02 GiB (25.4%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GDHTNI-87A0B size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 22.9 C
Partition:
  ID-1: / size: 265.49 GiB used: 120.99 GiB (45.6%) fs: ext4 dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 256 MiB used: 31.4 MiB (12.3%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 10 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-5:2 info: Syntek Integrated Camera type: Video driver: uvcvideo rev: 2.0
    speed: 480 Mb/s chip-ID: 174f:1176
  Device-2: 1-10:3 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb rev: 1.0
    speed: 12 Mb/s chip-ID: 0bda:c02f
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2920 apt: 2900 flatpak: 20
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //linux-mint.froonix.org vera main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
    1: deb https: //deb.opera.com/opera-stable/ stable non-free
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https: //repo.skype.com/deb stable main
Info:
  Processes: 256 Uptime: 0m Memory: 7.56 GiB used: 1.18 GiB (15.5%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/12 Client: Unknown python3.10 client inxi: 3.3.13
Gruß Enno
User avatar
ehtron
Level 10
Level 10
Posts: 3364
Joined: Thu Apr 14, 2016 8:15 am
Location: Germany / Baltic Sea
Contact:

Re: SSH key falsch gelöscht

Post by ehtron »

HI :)
was gibts da falsch zu verstehen?
wenn du hier einen thread öffnest, gehört die version und der desktop angegeben.. dürfte logisch sein warum! ;)
inxi ist sicher eher notwendig bei hardware nahen fragen.. aber schadet auch nix
allerdings steht änderung des start postts im text... das hast du anscheinend nicht verstanden ;)

hast du kein backup?
ohne wirst du die grund situation schwerlich wiederherstellen können.

evtl. bringt es was die 5 textdateien neu anzulegen, damit die speicherung wieder funktioniert.

Code: Select all

ls ~/.ssh
authorized_keys  config  id_rsa  id_rsa.pub  known_hosts
Lg. Ehtron :)
Keine Hilfe bei fehlender System / Desktop Angabe.
Ich gebe Hilfe zur Selbsthilfe.
Locked

Return to “Deutsch - German”